/* ==================== 13. REGISTRATION SECTION STYLING ==================== */
.registration-section {
    background-color: #f1f5f9;
    padding: 85px 24px;
}

.registration-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* Left Banner Side */
.reg-left-banner {
    background: radial-gradient(circle at top right,hsla(0,0%,100%,.18),transparent 28%),linear-gradient(135deg,#0f4c81,#12315a 48%,#169b8f);
    padding: 50px 40px;
    color: #ffffff;
    border-radius: 28px;
}

.reg-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    color: #93c5fd;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 20px;
}

.reg-banner-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.reg-banner-desc {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 30px;
}

.reg-illustration-box {
    width: 100%;
    max-height: 320px;
}

.reg-illustration-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: fill;
    display: block;
    border-width: medium;
    border-color: currentcolor;
    opacity: 1;
}

/* Right Form Side */
.reg-right-form {
    padding: 45px 45px;
    background-color: #ffffff;
}

.form-top-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.register-tag {
    background-color: #e0f2fe;
    color: #0284c7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
}

.quick-setup {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.quick-setup i {
    color: #eab308;
}

.form-main-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.form-sub-title {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

/* Role Selector Tabs (Tutor & Guardian) */
.role-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.role-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
}

.role-tab-btn i:first-child {
    font-size: 18px;
    color: #64748b;
}

.role-tab-btn .check-icon {
    margin-left: auto;
    font-size: 16px;
    color: #cbd5e1;
    transition: color 0.3s ease;
}

/* Active State for Tutor / Guardian Tabs */
.role-tab-btn.active {
    background: #ffffff;
    border-color: #a21caf;
    color: #0f172a;
    box-shadow: 0 6px 16px rgba(162, 28, 175, 0.1);
}

.role-tab-btn.active i:first-child {
    color: #a21caf;
}

.role-tab-btn.active .check-icon {
    color: #10b981; /* Green Tick */
}

/* Form Inputs & Rows */
.reg-form-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.required {
    color: #ef4444;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
}

.input-with-icon input,
.input-with-icon select {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-with-icon select {
    padding-left: 14px; /* সিলেক্ট বক্সের জন্য বামে আইকন না থাকলে প্যাডিং অ্যাডজাস্ট */
    cursor: pointer;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
    border-color: #a21caf;
    box-shadow: 0 0 0 3px rgba(162, 28, 175, 0.12);
}

.input-note {
    font-size: 11.5px;
    color: #94a3b8;
}

/* Submit Button */
.reg-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #a21caf 0%, #7c3aed 100%);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(162, 28, 175, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reg-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(162, 28, 175, 0.4);
}

.signin-redirect-text {
    text-align: center;
    font-size: 13.5px;
    color: #64748b;
    margin-top: 8px;
}

.signin-redirect-text a {
    color: #0284c7;
    font-weight: 700;
    text-decoration: none;
}

.signin-redirect-text a:hover {
    text-decoration: underline;
}

/* Role Selector Tabs (ছবির মতো হুবহু ডিজাইন) */
.role-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 26px;
}

.role-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
    transition: all 0.3s ease;
    text-align: left;
}

.role-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4338ca 0%, #a21caf 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.role-tab-btn .check-icon {
    margin-left: auto;
    font-size: 18px;
    color: #14b8a6; /* Teal/Green check icon */
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.25s ease;
}

/* Active Tab Style (১ ও ২নং ছবির মতো হালকা নীলচে গ্রেডিয়েন্ট ও ডার্ক ব্লু বর্ডার) */
.role-tab-btn.active {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f4f1 100%);
    border-color: #1e40af;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.08);
}

.role-tab-btn.active .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* ছবির মতো বাম পাশে গ্রে-ব্যাকগ্রাউন্ডের আইকন বক্সসহ ইনপুট ফিল্ড */
.input-group-box {
    display: flex;
    align-items: stretch;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-group-box:focus-within {
    border-color: #a21caf;
    box-shadow: 0 0 0 3px rgba(162, 28, 175, 0.12);
}

.input-addon {
    background-color: #e2e8f0;
    color: #1e293b;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-right: 1px solid #cbd5e1;
}

.input-group-box input,
.input-group-box select {
    width: 100%;
    padding: 10px 14px;
    border: none;
    outline: none;
    font-size: 13.5px;
    color: #0f172a;
    background-color: transparent;
}

.input-group-box select {
    cursor: pointer;
}

/* ফর্ম পরিবর্তনের স্মুথ অ্যানিমেশন */
.reg-form-content {
    animation: formFadeIn 0.35s ease;
}

@keyframes formFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}