:root {
    /* Prestigious Color Palette */
    --primary-color: #0c213a;
    /* Oxford Blue */
    --primary-light: #1e3a5f;
    --primary-dark: #071221;
    --primary-gradient: linear-gradient(135deg, #0c213a 0%, #1e3a5f 100%);
    --secondary-color: #b08d57;
    /* Classic Gold */
    --secondary-light: #c5a36d;
    --accent-color: #3b82f6;
    --bg-main: #fcfcfc;
    --white: #ffffff;
    --text-main: #0c213a;
    /* Oxford Blue as Primary Text */
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 20px 40px rgba(12, 33, 58, 0.08);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Institutional Utilities */
.py-100 {
    padding: 100px 0;
}

.text-gold {
    color: var(--gold-accent);
}

.max-w-600 {
    max-width: 600px;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.shadow-premium {
    box-shadow: 0 20px 40px rgba(12, 33, 58, 0.08);
}

.transition-base {
    transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: var(--text-main);
    min-height: 100vh;
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--gold-accent);
}

:root {
    --gold-accent: #b08d57;
    --oxford-blue: #0c213a;
    --slate-600: #475569;
}

/* Institutional Components */
.official-section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: var(--gold-accent);
}

.official-section-divider .line {
    width: 60px;
    height: 1px;
    background: #e2e8f0;
}

.institutional-section-title {
    font-weight: 800;
    color: var(--gold-accent);
    letter-spacing: -1px;
}

.official-program-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 0;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.official-program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(12, 33, 58, 0.1);
}

.card-header-accent {
    height: 5px;
    width: 100%;
}

.card-header-accent.primary {
    background: var(--oxford-blue);
}

.card-header-accent.secondary {
    background: var(--gold-accent);
}

.program-icon-box {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--oxford-blue);
    margin: 40px auto 30px;
    border-radius: 50%;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.program-body {
    padding: 0 40px 40px;
    text-align: center;
}

.program-level {
    display: block;
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--gold-accent);
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.program-title {
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--gold-accent);
}

.program-description {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.program-meta {
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
    margin-bottom: 2rem;
}

.meta-item {
    font-size: 0.8rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-program-select {
    display: block;
    width: 100%;
    padding: 1.25rem;
    background: var(--oxford-blue);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-program-select:hover {
    background: var(--gold-accent);
    color: #fff;
}

.btn-royal {
    background: var(--gold-accent);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--gold-accent);
    cursor: pointer;
}

.btn-royal:hover {
    background: transparent;
    color: var(--gold-accent);
}

.institutional-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: var(--gold-accent);
}

.institutional-subtitle {
    font-size: 1.25rem;
    max-width: 750px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Mission Section & Features */
.official-tag-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.official-line {
    width: 40px;
    height: 2px;
    background: var(--gold-accent);
}

.official-tag {
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--gold-accent);
}

.official-feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.official-feature-item i {
    font-size: 1.5rem;
    color: var(--gold-accent);
    margin-top: 0.25rem;
}

.official-feature-item h6 {
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Premium Layout */
.premium-container {
    padding: 3rem 0;
}

/* Stunning Glass Card */
.premium-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    padding: 4rem;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .premium-card {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }
}

/* Progress Stepper */
.form-step-indicator {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.step-dot {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-soft);
}

.step-item.active .step-dot {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(12, 33, 58, 0.2);
}

.step-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.step-item.active .step-label {
    color: var(--primary-color);
}

@media (max-width: 576px) {
    .form-step-indicator {
        gap: 1rem;
    }

    .step-dot {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
}

/* Section Styling */
.form-section {
    margin-bottom: 4rem;
    position: relative;
}

.form-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-section-title i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Premium Inputs */
.premium-form .form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.premium-form .form-control,
.premium-form .form-select {
    border-radius: 1.25rem;
    padding: 1rem 1.5rem;
    border: 2px solid #f1f5f9;
    background: #f8fafc;
    font-weight: 500;
    transition: all 0.3s ease;
}

.premium-form .form-control:focus,
.premium-form .form-select:focus {
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

.premium-form .form-control::placeholder {
    color: #cbd5e1;
    text-transform: none;
}

/* Image Upload Blocks */
.photo-upload-container {
    position: relative;
}

.photo-upload-box {
    width: 150px;
    height: 190px;
    max-width: 100%;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    margin: 0 auto;
}

.photo-upload-box:hover {
    border-color: var(--primary-color);
    background: #eff6ff;
    transform: scale(1.02);
}

.photo-upload-box i {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.photo-upload-box:hover i {
    color: var(--primary-color);
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.1rem;
    /* Slightly smaller than container to avoid overflow bleed */
    display: none;
}

/* Action Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: 2px solid transparent;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(12, 33, 58, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
}

.btn-premium svg {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    vertical-align: middle;
}

.btn-premium:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(12, 33, 58, 0.25);
    color: var(--white);
}

.btn-premium:active:not(:disabled) {
    transform: translateY(0);
}

.btn-premium-outline {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(12, 33, 58, 0.04);
}

.btn-premium-outline:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 10px 22px rgba(12, 33, 58, 0.18);
}

.btn-premium-secondary,
.btn-premium:disabled,
.btn-premium[disabled] {
    background: #f1f5f9;
    color: #94a3b8;
    border: 2px solid #e2e8f0;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* Utilities */
.required::after {
    content: '*';
    color: #ef4444;
    margin-left: 4px;
}

.bg-indigo-soft {
    background: rgba(99, 102, 241, 0.05);
}

.scale-transition {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Subject Group Cards */
.subject-group-card {
    background: var(--white);
    border: 2px solid #f1f5f9;
    border-radius: 1.5rem;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

input[type="radio"]:checked+.subject-group-card {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    /* Slightly stronger background */
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.15);
    /* Stronger shadow */
    transform: translateY(-2px);
    /* Subtle lift */
}

input[type="radio"]:checked+.subject-group-card .badge {
    box-shadow: 0 4px 10px rgba(12, 33, 58, 0.3);
}

.selection-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-check:checked+.official-program-card .selection-overlay {
    opacity: 1;
    transform: scale(1);
}

.btn-check:checked+.official-program-card {
    border-color: var(--gold-accent);
    box-shadow: 0 20px 50px rgba(176, 141, 87, 0.15);
    background: linear-gradient(to bottom right, #fff, rgba(176, 141, 87, 0.02));
}

.btn-check:checked+.official-program-card .program-icon-box {
    background: var(--gold-accent);
    color: #fff;
    border-color: var(--gold-accent);
}

.selection-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--gold-accent);
    font-size: 1.75rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1.2);
    z-index: 10;
}

/* Utilities */
.cursor-pointer {
    cursor: pointer;
}

.grayscale {
    filter: grayscale(1);
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

/* Official Form Layout */
.form-layout-wrapper {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 1200px) {
    .form-layout-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Modernized Form Navigation Sidebar */
.form-navigation-sidebar {
    position: sticky;
    top: 100px;
    background: #ffffff;
    padding: 1.75rem 1.25rem;
    border-radius: 1.5rem;
    border: 1px solid #e9edf4;
    box-shadow: 0 10px 30px -5px rgba(12, 33, 58, 0.06);
    backdrop-filter: blur(10px);
}

.form-navigation-sidebar .sidebar-header {
    padding-bottom: 0.5rem;
}

.nav-item-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 0.85rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.35rem;
    border: 1px solid transparent;
}

.nav-item-link:hover {
    background: #f1f5f9;
    color: var(--primary-color);
    transform: translateX(4px);
}

.nav-item-link.active {
    background: linear-gradient(135deg, rgba(12, 33, 58, 0.08) 0%, rgba(67, 97, 238, 0.12) 100%);
    color: var(--primary-color);
    font-weight: 700;
    border-color: rgba(67, 97, 238, 0.2);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.08);
}

.nav-item-link i {
    width: 22px;
    text-align: center;
    font-size: 1rem;
    color: #64748b;
    transition: color 0.25s ease;
}

.nav-item-link:hover i,
.nav-item-link.active i {
    color: #4361ee;
}

/* Modernized Form Sections - Borderless Flow */
.official-form-section {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    margin-bottom: 2.75rem;
    box-shadow: none;
    position: relative;
    transition: none;
}

.official-form-section:hover {
    box-shadow: none;
    border-color: transparent;
}

.official-section-header {
    margin-bottom: 2.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.official-section-header .icon-wrap {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0c213a 0%, #1e3a5f 50%, #4361ee 100%);
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 18px rgba(12, 33, 58, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.official-form-section:hover .official-section-header .icon-wrap {
    transform: scale(1.05) rotate(-2deg);
}

.official-section-header h4 {
    margin: 0;
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

/* Modernized Input Fields */
.official-form label,
.official-form .form-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.official-form .form-control,
.official-form .form-select {
    padding: 0.85rem 1.15rem;
    border-radius: 0.85rem;
    border: 1.5px solid #e2e8f0;
    background: #fbfcfe;
    font-weight: 500;
    font-size: 0.95rem;
    color: #0f172a;
    transition: all 0.25s ease;
}

.official-form .form-control:focus,
.official-form .form-select:focus {
    background: #ffffff;
    border-color: #4361ee;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.12);
    outline: none;
}

.official-form .form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Modern Input Groups with Icons */
.official-form .input-group {
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
    transition: all 0.25s ease;
    background: #fbfcfe;
}

.official-form .input-group:focus-within {
    border-color: #4361ee;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.12);
    background: #ffffff;
}

.official-form .input-group .form-control {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-left: 0.5rem;
}

.official-form .input-group-text {
    border: none !important;
    background: transparent !important;
    padding-left: 1.15rem;
    padding-right: 0.5rem;
    color: #64748b;
    font-size: 0.95rem;
}

.official-form .input-group:focus-within .input-group-text {
    color: #4361ee;
}

/* Specialized Info Surfaces */
.info-surface {
    background: #f8fafc;
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.info-surface-indigo {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1px solid #ddd6fe;
}

/* Modern Photo Upload Box */
.photo-upload-box {
    width: 140px;
    height: 160px;
    max-width: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.photo-upload-box:hover {
    border-color: #4361ee;
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.12);
}

.photo-upload-box i {
    font-size: 1.75rem;
    color: #64748b;
    margin-bottom: 0.6rem;
    transition: all 0.3s ease;
}

.photo-upload-box:hover i {
    color: #4361ee;
    transform: scale(1.15);
}

.photo-upload-box p {
    font-size: 0.68rem !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #64748b;
    margin: 0;
    transition: color 0.3s ease;
}

.photo-upload-box:hover p {
    color: #1e3a5f;
}

.preview-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.15rem;
    display: none;
    z-index: 5;
}

/* Parent Cards Polish */
.parent-card {
    border-radius: 1.5rem !important;
    border: 1px solid #e9edf4 !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.parent-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(12, 33, 58, 0.06) !important;
    border-color: #cbd5e1 !important;
}

/* Modern Checkboxes and Radios */
.custom-checkbox-wrap {
    padding: 1.35rem 1.5rem;
    border-radius: 1.25rem;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    transition: all 0.25s ease;
    cursor: pointer;
}

.custom-checkbox-wrap:hover {
    border-color: var(--gold-accent);
    background: #fffdfa;
    box-shadow: 0 6px 16px rgba(176, 141, 87, 0.08);
}

.custom-checkbox-wrap .form-check-input {
    border-radius: 8px;
    border: 2px solid #cbd5e1;
    transition: all 0.2s ease;
}

.custom-checkbox-wrap .form-check-input:checked {
    background-color: var(--gold-accent);
    border-color: var(--gold-accent);
}

.custom-checkbox-wrap .form-check-input:checked~.form-check-label {
    color: var(--primary-color);
}

/* Wireframe / Minimal Clean Form 1 Style (User Reference) */
.early-years-container {
    max-width: 960px;
    margin: 0 auto;
}

.early-years-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.ey-title {
    color: #c59b27;
    font-weight: 800;
    font-size: 2.25rem;
    letter-spacing: -0.5px;
}

.ey-subtitle {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 0.35rem;
}

.ey-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.45rem;
    display: block;
}

.ey-label.required::after {
    content: ' *';
    color: #ef4444;
}

.ey-input,
.early-years-card .form-control,
.early-years-card .form-select {
    background-color: #f1f2f4 !important;
    border: 1.5px solid #1e293b !important;
    border-radius: 20px !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    min-height: 48px;
}

.ey-input:focus,
.early-years-card .form-control:focus,
.early-years-card .form-select:focus {
    background-color: #ffffff !important;
    border-color: #c59b27 !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(197, 155, 39, 0.15) !important;
}

.ey-input-readonly {
    background-color: #f1f2f4 !important;
    cursor: default;
}

/* Wireframe Photo Upload Box */
.ey-photo-box {
    width: 100%;
    max-width: 170px;
    height: 190px;
    background: #f8fafc;
    border: 2px dotted #475569;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.ey-photo-box:hover {
    border-color: #c59b27;
    background: #fdfaf2;
    transform: translateY(-2px);
}

.ey-photo-icon-wrap {
    width: 65px;
    height: 50px;
    border: 2px solid #848d9a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0.65rem;
}

.ey-photo-icon-wrap::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 14px;
    width: 10px;
    height: 4px;
    background: #848d9a;
    border-radius: 2px;
}

.ey-photo-icon-wrap .inner-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #848d9a;
    border-radius: 50%;
}

.ey-photo-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin: 0;
}

/* Radio Gender Buttons matching user wireframe */
.ey-radio-group {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    min-height: 48px;
}

.ey-radio-label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    color: #0f172a;
    margin: 0;
}

.ey-radio-circle {
    width: 26px;
    height: 26px;
    border: 2px solid #1e293b;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #f1f2f4;
}

.ey-radio-input {
    display: none;
}

.ey-radio-input:checked + .ey-radio-label .ey-radio-circle {
    border-color: #c59b27;
    background: #c59b27;
    box-shadow: inset 0 0 0 4px #ffffff;
}

.ey-radio-input:checked + .ey-radio-label {
    font-weight: 700;
    color: #c59b27;
}

/* ========================================================
   Parental Details & Address Section Wireframe Components
   ======================================================== */
.wireframe-parent-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wireframe-photo-upload-box {
    width: 150px;
    height: 150px;
    border: 2px dashed #374151;
    border-radius: 20px;
    background-color: #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.wireframe-photo-upload-box:hover {
    border-color: #000000;
    background-color: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.wireframe-photo-upload-box .camera-icon {
    color: #4b5563;
    font-size: 2.4rem;
    margin-bottom: 0.4rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.wireframe-photo-upload-box:hover .camera-icon {
    transform: scale(1.08);
    color: #111827;
}

.wireframe-photo-upload-box .upload-text {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
    margin: 0;
}

.wireframe-photo-upload-box .preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 18px;
    display: none;
}

.wireframe-label {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #111827 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-bottom: 0.4rem;
    display: block;
}

.wireframe-label.required::after {
    content: ' *';
    color: #ef4444;
}

.wireframe-input {
    width: 100%;
    min-height: 50px;
    background-color: #f3f4f6 !important;
    border: 1.5px solid #374151 !important;
    border-radius: 9999px !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    color: #111827 !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.wireframe-input:focus {
    background-color: #ffffff !important;
    border-color: #000000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
}

/* Radio Group: Guardian */
.wireframe-radio-item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    color: #111827;
    user-select: none;
    margin: 0;
}

.wireframe-radio-circle {
    width: 26px;
    height: 26px;
    border: 2px solid #374151;
    border-radius: 50%;
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.wireframe-radio-hidden {
    display: none;
}

.wireframe-radio-hidden:checked + .wireframe-radio-circle {
    border-color: #111827;
    background-color: #111827;
    box-shadow: inset 0 0 0 4px #ffffff;
}

/* Same As Checkbox */
.same-as-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
    user-select: none;
    margin: 0;
}

.same-as-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #374151;
    border-radius: 50%;
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.same-as-checkbox {
    display: none;
}

.same-as-checkbox:checked + .same-as-circle {
    border-color: #111827;
    background-color: #111827;
    box-shadow: inset 0 0 0 4px #ffffff;
}

/* Borderless Form Sections (Remove outer box design across all form sections) */
#section-student,
#section-identity,
#section-official,
#section-parents,
#section-contact,
#section-stream,
#section-academic,
#section-rules,
#section-declaration,
.official-form-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 2.75rem !important;
}

#section-student:hover,
#section-identity:hover,
#section-official:hover,
#section-parents:hover,
#section-contact:hover,
#section-stream:hover,
#section-academic:hover,
#section-rules:hover,
#section-declaration:hover,
.official-form-section:hover {
    box-shadow: none !important;
    border-color: transparent !important;
    transform: none !important;
}