/* ============================================================
   Therapist Registration Form — Exact Match to Images
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --teal: #00696d;
    --teal-dark: #004d50;
    --teal-light: #e6f4f5;
    --text-dark: #1a2a3a;
    --text-mid: #5a6e7c;
    --text-light: #8a9caa;
    --border: #dee9ef;
    --input-bg: #f8fafc;
    --radius-pill: 40px;
    --radius-card: 24px;
    --radius-sm: 16px;
}

/* ========== PAGE BACKGROUND ========== */
.registration-section {
    min-height: 100vh;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f0f4f8 0%, #e8edf2 100%);
    font-family: 'Outfit', sans-serif;
}

.registration-container {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
}

.registration-wrapper {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-card);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ========== HEADER ========== */
.registration-header {
    padding: 48px 56px 16px;
    text-align: center;
    background: transparent;
}

.registration-header h1 {
    font-family: 'Newsreader', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.registration-header h1 span {
    font-family: 'Newsreader', serif;
    font-style: italic;
    color: var(--teal);
    font-weight: 500;
}

.registration-header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ========== CONTENT ========== */
.registration-content {
    padding: 24px 56px 56px;
}

/* ========== PROGRESS STEPS - EXACTLY LIKE IMAGE ========== */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 52px;
    padding: 0 16px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 20px 0 50px;
    padding: 7px 20px;
}

/* Background Line */
.progress-steps::before {
    content: '';
    position: absolute;
    top: 24px;
     left: 70px;
    right: calc(10%);
    height: 10px;
   background: #e2e8f0;
    border-radius: 10px;
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 24px;
    left: 70px;
    height: 10px;
    /* background:#9BD1DC; */
    background:linear-gradient(90deg, #c4b5fd 0%, #a5d8d9 50%, #74e3e7 100%);
    border-radius: 10px;
    z-index: 2;
    transition: width 0.5s ease-in-out;
}

.step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: var(--teal);
    border-color: var(--teal);
    color: white;
    box-shadow: 0 6px 16px rgba(0, 105, 109, 0.3);
    transform: scale(1.02);
}

.step.completed .step-circle {
    background: var(--teal);
    border-color: var(--teal);
    color: white;
}

.step.completed .step-circle::after {
    content: '✓';
    font-size: 1rem;
    font-weight: bold;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.3px;
}

.step.active .step-label {
    font-weight: 700;
    color: var(--text-dark);
}

.step.completed .step-label {
    font-weight: 600;
    color: var(--teal);
}

/* ========== SECTION TITLES ========== */
.section-title,
h3.section-title {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--teal);
    text-align: center;
    font-size: 1.8rem;
    margin: 0 0 32px 0;
}

h4.section-title {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--teal);
    text-align: center;
    font-size: 1.4rem;
    margin: 40px 0 24px 0;
}

/* ========== FORM SECTIONS ========== */
.form-section {
    display: none;
    animation: fadeIn 0.35s ease;
}

.form-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== FORM ROWS ========== */
.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

/* ========== FORM GROUPS ========== */
.form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.required {
    color: #e53e3e;
    margin-left: 2px;
}

/* ========== INPUT FIELDS - PILL SHAPE ========== */
.form-control,
.form-select {
    width: 100%;
    padding: 12px 20px;
    height: 52px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border);
    background: var(--input-bg);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dark);
    transition: all 0.2s;
    outline: none;
}

.form-control::placeholder {
    color: #b8cbd6;
    font-weight: 400;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--teal);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 105, 109, 0.1);
}

textarea.form-control {
    height: auto;
    min-height: 110px;
    border-radius: 24px;
    resize: vertical;
    line-height: 1.5;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238fa8b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 48px;
    cursor: pointer;
}

/* ========== FILE UPLOAD ========== */
.file-upload-container {
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-sm);
    background: var(--input-bg);
    cursor: pointer;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 20px;
    transition: all 0.2s;
}

.file-upload-container:hover {
    border-color: var(--teal);
    background: rgba(0, 105, 109, 0.03);
}

.upload-icon {
    font-size: 2.5rem;
    color: var(--teal);
}

.upload-text {
    font-size: 0.85rem;
    color: var(--teal);
    font-weight: 500;
}

.upload-text small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 5px;
}

/* ========== EMAIL VERIFICATION ========== */
.email-verification {
    position: relative;
}

.email-verification .form-control {
    padding-right: 115px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .form-control {
    padding-right: 120px; /* 👈 button ki width ke barabar */
}

.verification-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    background: linear-gradient(135deg, #c4b5fd 0%, #b8a8f8 100%);
    color: #5b4b8a;
    border: none;
    padding: 0 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.verification-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

.verification-btn.verified {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* OTP Section */
#otpSection {
    margin: 20px 0 24px;
    padding: 18px 22px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
}

.input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.input-group .form-control {
    flex: 1;
}

.input-group .btn {
    height: 52px;
    padding: 0 28px;
    border-radius: 50px;
    background: #10b981;
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* ========== CHECKBOX GROUP ========== */
.checkbox-group {
    padding: 20px 24px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    background: var(--input-bg);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-item:hover {
    border-color: var(--teal);
    background: rgba(0, 105, 109, 0.04);
}

.checkbox-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--teal);
    cursor: pointer;
}

.checkbox-item label {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ========== SOCIAL & BILLING SECTIONS ========== */
.social-section {
    background: var(--input-bg);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 28px 32px;
    margin-top: 32px;
}

.social-section h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-card {
    background: var(--input-bg);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    margin-top: 32px;
    padding: 28px 32px;
}

/* ========== STEP 4 - REVIEW ========== */
.form-section[data-step="4"] {
    text-align: center;
}

.form-check {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.form-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--teal);
}

.form-check-label a {
    color: var(--teal);
    text-decoration: none;
}

/* ========== NAVIGATION BUTTONS ========== */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1.5px solid var(--border);
}

.form-nav-btn {
    padding: 14px 36px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    line-height: normal; /* 👈 IMPORTANT */
}

.form-nav-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle; /* 👈 FIX */
}
.btn-prev {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-mid);
}

.btn-prev:hover {
    background: var(--input-bg);
    border-color: #cbd5e1;
}

.btn-next, .btn-submit {
    background: var(--teal);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 105, 109, 0.25);
}

.btn-next:hover, .btn-submit:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 105, 109, 0.3);
}

/* ========== UTILITIES ========== */
.d-none { display: none !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.my-3 { margin: 1rem 0 !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.text-center { text-align: center; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .registration-header { padding: 36px 40px 12px; }
    .registration-content { padding: 20px 40px 48px; }
    .registration-header h1 { font-size: 2.5rem; }
    .form-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .registration-section { padding: 40px 16px; }
    .progress-steps { padding: 0 8px; margin-bottom: 40px; }
    .progress-steps::before { top: 20px; left: 8px; right: 8px; }
    .progress-bar { top: 20px; left: 8px; }
    .step-circle { width: 42px; height: 42px; font-size: 1rem; }
    .step-label { font-size: 0.7rem; }
}

@media (max-width: 640px) {
    .registration-header { padding: 28px 20px 8px; }
    .registration-header h1 { font-size: 2rem; }
    .registration-content { padding: 16px 20px 36px; }
    .form-row { grid-template-columns: 1fr; gap: 16px; }
    .step-circle { width: 40px; height: 40px; font-size: 0.9rem; }
    .step-label { font-size: 0.65rem; }
    .form-navigation { flex-direction: column; gap: 12px; }
    .form-nav-btn { width: 100%; justify-content: center; }
    .checkbox-grid { grid-template-columns: repeat(2, 1fr); }
    .social-section, .section-card { padding: 20px 24px; }
    .verification-btn { padding: 6px 14px; font-size: 0.7rem; }
}

@media (max-width: 480px) {
    .checkbox-grid { grid-template-columns: 1fr; }
    .step-circle { width: 36px; height: 36px; font-size: 0.85rem; }
    .step-label { display: none; }
    .progress-steps { margin-bottom: 30px; }
}