/* NDA Signature Form Styles */

/* Reset */
.basix-nda-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Wrapper */
.basix-nda-wrapper {
    width: 100%;
    font-family: "Outfit", Sans-serif;
    line-height: 1.6;
    color: #000;
}

/* Progress Bar */
.basix-nda-progress-bar {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 24px 16px;
    box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.07) !important;
    border-radius: 11px;
}

.basix-nda-progress-container {
    max-width: 896px;
    margin: 0 auto;
}

.basix-nda-progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.basix-nda-progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.basix-nda-progress-step.completed .step-circle {
    background-color: #00D33B;
    color: #fff;
}

.basix-nda-progress-step.active .step-circle {
    background-color: #000;
    color: #fff;
}

.step-label {
    font-size: 17px;
    font-weight: 400;
	font-family: "Bebas Neue", sans-serif !important;
    color: #9ca3af;
}

.basix-nda-progress-step.completed .step-label,
.basix-nda-progress-step.active .step-label {
    color: #000;
}

.progress-line {
    flex: 1;
    height: 2px;
    background-color: #e5e7eb;
    margin: 0 16px;
}

.progress-line.active {
    background-color: #00D33B;
}

@media (max-width: 767px) {
    .step-label {
        line-height:1.2em;
		text-align:center;
    }
	
.basix-nda-progress-step {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-direction: column !important;
}

    .progress-line {
        margin: 0 8px;
    }
}

/* Section */
.basix-nda-section {
    padding: 48px 16px;
    background-color: #f9fafb;
}

@media (min-width: 768px) {
    .basix-nda-section {
        padding: 60px 16px;
    }

	
}




/* Container */
.basix-nda-container {
    max-width: 100%;
    margin: 0 auto;
}

.basix-nda-inner {
    max-width: 1024px;
    margin: 0 auto;
}

/* Header */
.basix-nda-header {
    text-align: center;
    margin-bottom: 40px;
}

.basix-nda-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fef3c7;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.basix-nda-title {
    font-family: "Bebas Neue", Sans-serif !important;
    font-size: 40px !important;
    font-weight: 400 !important;
    color: #000;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .basix-nda-title {
        font-size: 56px !important;
    }
}

.basix-nda-subtitle {
    font-size: 18px;
    color: #686868;
    max-width: 700px;
    margin: 0 auto;
}

/* NDA Document */
.basix-nda-document {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.07);
    padding: 32px;
    margin-bottom: 32px;
    max-height: 500px;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .basix-nda-document {
        padding: 48px;
    }
}

.document-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 32px;
}

.document-header h2 {
    font-family: "Bebas Neue", Sans-serif !important;
    font-size: 28px !important;
    color: #000;
    margin-bottom: 8px;
}

.document-header p {
    font-size: 14px;
    color: #686868;
}

.document-content section {
    margin-bottom: 32px;
}

.document-content h3 {
    font-family: "Bebas Neue", Sans-serif !important;
    font-size: 22px !important;
    color: #000;
    margin-bottom: 16px;
}

.document-content p {
    margin-bottom: 16px;
    color: #374151;
    line-height: 1.8;
}

.document-content ul,
.document-content ol {
    margin: 16px 0;
    padding-left: 24px;
    color: #374151;
}

.document-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Signature Card */
.basix-nda-signature-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.07);
    padding: 32px;
}

@media (min-width: 768px) {
    .basix-nda-signature-card {
        padding: 48px;
    }
}

.basix-nda-signature-card > h2 {
    font-family: "Bebas Neue", Sans-serif !important;
    font-size: 28px !important;
    color: #000;
    margin-bottom: 32px;
    text-align: center;
}

/* Form */
.basix-nda-form {
    width: 100%;
}

.basix-nda-form-section-header {
    margin-bottom: 24px;
    margin-top: 32px;
}

.basix-nda-form-section-header:first-child {
    margin-top: 0;
}

.basix-nda-form-section-header h3 {
    font-family: "Bebas Neue", Sans-serif !important;
    font-size: 24px !important;
    color: #000 !important;
    margin: 0 0 8px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.basix-nda-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .basix-nda-form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.basix-nda-form-group {
    margin-bottom: 24px;
}

.basix-nda-form-group label {
    font-family: "Bebas Neue", Sans-serif !important;
    font-size: 18px !important;
    color: #000;
    display: block;
    margin-bottom: 8px;
}

.basix-nda-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    font-family: "Outfit", Sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.basix-nda-form-group input:focus {
    outline: none;
    border-color: #00D33B;
    box-shadow: 0 0 0 3px rgba(0, 211, 59, 0.1);
}

/* Agreement Box */
.basix-nda-agreement-box {
    background-color: #fef3c7;
    border: 2px solid #fbbf24;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.agreement-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.agreement-label input[type="checkbox"] {
    margin-top: 4px;
    margin-right: 12px;
    width: 24px;
    height: 24px;
    accent-color: #00D33B;
    cursor: pointer;
    flex-shrink: 0;
}

.agreement-label span {
    font-size: 14px;
    color: #92400e;
    line-height: 1.6;
}

.agreement-label small {
    display: block;
    margin-top: 8px;
    color: #b45309;
}

/* Signature Type Buttons */
.signature-type-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.sig-type-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background-color: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: "Bebas Neue", Sans-serif !important;
    font-size: 18px !important;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
}

.sig-type-btn:hover {
    border-color: #00D33B;
    background-color: #f9fafb;
}

.sig-type-btn.active {
    border-color: #00D33B;
    background-color: #d1fae5;
    color: #000;
}

/* Signature Areas */
.signature-area {
    margin-bottom: 24px;
}

.signature-canvas-wrapper {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 12px;
}

#signatureCanvas {
    display: block;
    width: 100%;
    height: 200px;
    cursor: crosshair;
}

.signature-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #9ca3af;
    font-size: 18px;
    pointer-events: none;
}

.clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: background-color 0.3s;
}

.clear-btn:hover {
    background-color: #e5e7eb;
}

.typed-signature-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 32px;
    font-family: 'Brush Script MT', cursive;
    text-align: center;
    transition: border-color 0.3s;
}

.typed-signature-input:focus {
    outline: none;
    border-color: #00D33B;
}

.help-text {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 14px;
    color: #686868;
}

/* Submit */
.basix-nda-submit-wrapper {
    padding-top: 24px;
    margin-bottom: 16px;
}

.basix-nda-submit-btn {
    width: 100%;
    background-color: #000;
    color: #fff;
    font-family: "Bebas Neue", Sans-serif !important;
    font-size: 20px !important;
    font-weight: 400;
    padding: 16px 24px !important;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.basix-nda-submit-btn:hover {
    background-color: #00D33B;
    transform: scale(1.02);
}

.basix-nda-submit-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: scale(1);
}

.basix-nda-submit-btn.loading {
    position: relative;
    color: transparent;
}

.basix-nda-submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

/* Success Message */
.basix-nda-success {
    text-align: center;
    padding: 48px 24px;
}

.success-icon {
    margin-bottom: 24px;
}

.basix-nda-success h3 {
    font-family: "Bebas Neue", Sans-serif !important;
    font-size: 32px !important;
    color: #00D33B;
    margin-bottom: 16px;
}

.success-message {
    font-size: 18px;
    color: #374151;
    margin-bottom: 32px;
}

.success-access-info {
    background-color: #d1fae5;
    padding: 24px;
    border-radius: 8px;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 32px;
}

.success-access-info h4 {
    font-family: "Bebas Neue", Sans-serif !important;
    font-size: 20px !important;
    margin-bottom: 16px;
    color: #065f46;
}

.success-access-info p {
    margin-bottom: 16px;
    color: #047857;
}

.success-access-info ul {
    list-style: none;
    padding: 0;
}

.success-access-info ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    color: #047857;
    font-size: 14px;
}

.success-next-button {
    margin-top: 24px;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 767px) {
    .basix-nda-title {
        font-size: 32px;
    }

    .basix-nda-document,
    .basix-nda-signature-card {
        padding: 24px;
    }

    .signature-type-buttons {
        grid-template-columns: 1fr;
    }
}
