@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
}

#appWrapper {
    transform: scale(var(--ui-scale, 1));
    transform-origin: top left;
    width: calc(100% / var(--ui-scale, 1));
}

/* Topbar */
.topbar {
    background: #204988;
    color: white;
    padding: 12px 0;
    font-size: 13px;
}

.topbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left,
.topbar-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
    transition: opacity 0.3s;
}

    .topbar-item:hover {
        opacity: 1;
    }

.accessibility-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.icon-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    color: white;
    text-decoration:none;
}

    .icon-btn:hover {
        text-decoration: none;
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
    }

.lang-switch {
    display: flex;
    gap: 8px;
}

.lang-btn {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    font-weight: 500;
    text-decoration:none;
}

    .lang-btn:hover,
    .lang-btn.active {
        text-decoration: none;
        background: white;
        color: #204988;
    }

/* Header */
.header {
    background: white;
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .logo-circle:hover {
        transform: rotate(-5deg) scale(1.05);
        box-shadow: 0 10px 30px rgba(32, 73, 136, 0.2);
    }

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.logo-text p {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.login-btn {
    padding: 12px 30px;
    background: #204988;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(32, 73, 136, 0.3);
    text-decoration:none;
}

    .login-btn:hover {
        text-decoration: none;
        background: #163761;
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(32, 73, 136, 0.4);
    }

.link-btn {
    padding: 12px 30px;
    background: #204988;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(32, 73, 136, 0.3);
    text-decoration:none;
}

    .link-btn:hover {
        text-decoration: none;
        background: #163761;
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(32, 73, 136, 0.4);
    }

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-right: 30px;
}

    .nav-menu a {
        color: #1a1a1a;
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        transition: color 0.3s;
        position: relative;
    }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #204988;
            transition: width 0.3s;
        }

        .nav-menu a:hover {
            color: #204988;
        }

            .nav-menu a:hover::after {
                width: 100%;
            }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: #204988;
        border-radius: 3px;
        transition: all 0.3s;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 120px;
    left: -100%;
    width: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 999;
    padding: 20px;
}

    .mobile-menu.active {
        left: 0;
    }

    .mobile-menu a {
        display: block;
        padding: 15px 20px;
        color: #1a1a1a;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s;
    }

        .mobile-menu a:hover {
            background: #f8f9fa;
            color: #204988;
            padding-left: 30px;
        }

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #204988 0%, #163761 100%);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 60%;
        height: 100%;
        background: rgba(255, 255, 255, 0.03);
        clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    }

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: 10%;
}

.shape2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 15%;
    animation-delay: 5s;
}

.shape3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 30%;
    animation-delay: 10s;
}

@keyframes float {

    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    animation: flash 1.5s infinite;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

    .result-badge:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(220, 53, 69, 0.6);
    }

@keyframes flash {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 8px 30px rgba(220, 53, 69, 0.8);
    }
}

.hero h2 {
    font-size: 28px;
    color: white;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
}

.hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 15px;
}

.hindi-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Alert Banner */
.alert-banner {
    background: white;
    margin: -60px auto 0;
    max-width: 1200px;
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

    .alert-banner:hover {
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }

.alert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .alert-icon i {
        font-size: 28px;
        color: #2e7d32;
    }

.alert-text a {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

    .alert-text a:hover {
        color: #204988;
    }

.alert-text span {
    color: #204988;
    font-weight: 700;
}

/* Guidelines Section */
.guidelines {
    padding: 40px 0;
    background: #fafbfc;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-2 {
    text-align: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.section-title-2 {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 20px;
    color: #666;
    font-weight: 600;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.guideline-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .guideline-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 60px rgba(32, 73, 136, 0.15);
        border-color: rgba(32, 73, 136, 0.1);
    }

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.pdf-card {
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

    .pdf-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #204988 0%, #3d7bc6 100%);
    }

.pdf-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(245, 124, 0, 0.15);
}

.guideline-card:hover .pdf-icon {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 8px 30px rgba(245, 124, 0, 0.25);
}

.pdf-icon i {
    font-size: 44px;
    color: #f57c00;
}

.pdf-card h4 {
    font-size: 20px;
    color: #1a1a1a;
    font-weight: 700;
    transition: color 0.3s;
    line-height: 1.5;
}

.guideline-card:hover .pdf-card h4 {
    color: #204988;
}

/* Action Cards */
.action-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.action-card {
    background: white;
    padding: 0;
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

    .action-card:hover {
        transform: translateY(-5px);
        border-color: #204988;
        box-shadow: 0 8px 24px rgba(32, 73, 136, 0.12);
    }

.card-header-steps,
.card-header-login {
    background: linear-gradient(135deg, #204988 0%, #2d5a94 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .card-header-steps h3,
    .card-header-login h3 {
        font-size: 18px;
        font-weight: 700;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .card-header-steps i,
    .card-header-login i {
        font-size: 20px;
    }

.card-steps-list {
    padding: 12px 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    font-size: 12px;
    color: #374151;
    font-weight: 500;
    border-right: 2px solid #e5e7eb;
}

    .step-item:last-child {
        border-right: none;
    }

.step-number {
    width: 26px;
    height: 26px;
    background: #204988;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.step-text {
    font-weight: 600;
}

.card-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0 30px;
}

.card-registration-options {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.registration-btn {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration:none;
}

    .registration-btn:hover {
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
    }

    .registration-btn i {
        font-size: 18px;
    }

    .registration-btn span {
        text-align: left;
        line-height: 1.4;
    }

.login-card-content {
    padding: 35px 30px;
}

.login-description {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.login-action-btn {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #204988 0%, #163761 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(32, 73, 136, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    text-decoration:none;
}

    .login-action-btn:hover {
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(32, 73, 136, 0.3);
        background: linear-gradient(135deg, #163761 0%, #0f2847 100%);
    }

    .login-action-btn i {
        font-size: 18px;
    }

.withdraw-section {
    padding-top: 25px;
    border-top: 1px dashed #e5e7eb;
}

.withdraw-text {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
    text-align: center;
}

.withdraw-btn {
    width: 100%;
    padding: 14px 20px;
    background: white;
    color: #dc2626;
    border: 1.5px solid #dc2626;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration:none;
}

    .withdraw-btn:hover {
        text-decoration: none;
        background: #dc2626;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
    }

    .withdraw-btn i {
        font-size: 16px;
    }

.action-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e3eaf2 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.action-card:hover .action-icon {
    background: linear-gradient(135deg, #204988 0%, #3d7bc6 100%);
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 8px 30px rgba(32, 73, 136, 0.3);
}

.action-icon i {
    font-size: 40px;
    color: #204988;
    transition: all 0.3s;
}

.action-card:hover .action-icon i {
    color: white;
}

.action-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.6;
    transition: color 0.3s;
    position: relative;
    z-index: 1;
}

.action-card:hover h4 {
    color: #204988;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

    .accordion-item:hover {
        border-color: #204988;
        box-shadow: 0 2px 8px rgba(32, 73, 136, 0.08);
    }

.accordion-button {
    background: white;
    color: #374151;
    font-size: 15px;
    font-weight: 600;
    padding: 18px 20px;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

    .accordion-button:not(.collapsed) {
        background: #f9fafb;
        color: #204988;
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: none;
        border: none;
    }

    .accordion-button i {
        font-size: 16px;
        color: #204988;
    }

    .accordion-button::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-left: auto;
        transition: transform 0.3s;
        font-size: 12px;
        color: #204988;
    }

    .accordion-button:not(.collapsed)::after {
        transform: rotate(180deg);
    }

.accordion-body {
    padding: 0 20px 20px 48px;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
}

/* Footer */
.footer {
    background: #204988;
    color: white;
    padding: 20px 0;
    text-align: center;
}

    .footer p {
        margin: 0;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
    }

/* Responsive */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 28px;
    }

    .action-cards {
        grid-template-columns: 1fr;
    }

    .guidelines-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .topbar-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 10px;
    }

    .topbar-left,
    .topbar-right {
        gap: 15px;
        font-size: 11px;
    }

    .header-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 20px;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        padding: 60px 0 100px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .alert-banner {
        margin: -40px 20px 0;
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 20px;
    }

    .accordion-button {
        font-size: 15px;
        padding: 20px;
    }

    .accordion-body {
        padding: 15px 20px 25px 20px;
        font-size: 14px;
    }
}




/* Page Banner */
.reg-page-banner {
    background: linear-gradient(135deg, #204988 0%, #163761 100%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

    .reg-page-banner::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 60%;
        height: 100%;
        background: rgba(255, 255, 255, 0.03);
        clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    }

.reg-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reg-banner-text h2 {
    font-size: 20px;
    color: white;
    font-weight: 800;
    margin-bottom: 6px;
}

.reg-banner-text-label {
    font-size: 20px;
    color: white;
    font-weight: 800;
    margin-bottom: 6px;
}

.reg-banner-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.reg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

    .reg-breadcrumb a {
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s;
    }

        .reg-breadcrumb a:hover {
            opacity: 0.8;
        }

.reg-separator {
    color: rgba(255, 255, 255, 0.6);
}

.reg-current {
    color: rgba(255, 255, 255, 0.9);
}


/* Form Section */
.reg-form-section {
    padding: 30px 0;
}

.reg-form-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.reg-form-header {
    text-align: center;
    margin-bottom: 30px;
}

    .reg-form-header h1 {
        font-size: 22px;
        color: #204988;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .reg-form-header p {
        font-size: 16px;
        color: #666;
        font-weight: 600;
    }

.reg-warning-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #f57c00;
    padding: 18px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.1);
}

    .reg-warning-box p {
        margin: 6px 0;
        font-size: 13px;
        color: #1a1a1a;
        line-height: 1.6;
    }

    .reg-warning-box i {
        color: #f57c00;
        margin-right: 6px;
        font-size: 13px;
    }

.reg-mandatory-note {
    background: #e3f2fd;
    padding: 13px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #204988;
    margin-bottom: 25px;
    text-align: center;
}

.header-text-note {
    background: #e3f2fd !important;
    padding: 13px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #204988;
    margin-bottom: 25px;
}

.reg-form-body {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.reg-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.reg-form-row-5 {
    display: grid;
    /* auto-fit allows the grid to be flexible on smaller screens */
    /* Lowering the minimum to 150px helps 5 columns fit in tighter containers */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* For tablets (768px and up): Transition to 2 or 3 columns */
@media (min-width: 768px) {
    .reg-form-row-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* For small desktops/laptops (1024px and up): Transition to 4 columns */
@media (min-width: 1024px) {
    .reg-form-row-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* For large desktops (1280px and up): Full 5 columns */
@media (min-width: 1280px) {
    .reg-form-row-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

.reg-form-row-4 {
    display: grid;
    /* Lowering 260px to 200px allows more columns to fit in the same space */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 20px;

    /*display: grid;*/
    /* This creates exactly 4 equal columns */
    /*grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;*/
}

/* For Desktop: Adjust the minmax to ensure 4 columns fit comfortably */
@media (min-width: 1024px) {
    .reg-form-row-4 {
        /* Using a smaller min value (like 200px) allows 4 columns 
           to fit even if the container isn't huge. 
        */
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* For tablets and larger (screens wider than 768px) */
/*@media (min-width: 768px) {
    .reg-form-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}*/

/* For desktop (screens wider than 1024px) */
/*@media (min-width: 1024px) {
    .reg-form-row-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}*/

.reg-date-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.reg-date-row-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.reg-form-group {
    display: flex;
    flex-direction: column;
}

    .reg-form-group label {
        font-size: 14px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 8px;
    }

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

.reg-form-group input,
.reg-form-group select {
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: white;
}

    .reg-form-group input:focus,
    .reg-form-group select:focus {
        outline: none;
        border-color: #204988;
         box-shadow: 0 0 0 3px rgba(32, 73, 136, 0.1);        
    }

    .reg-form-group input::placeholder {
        color: #9ca3af;
    }

.reg-section-title {
    color: #204988;
    margin: 25px 0 18px;
    font-size: 16px;
    font-weight: 700;
}

.reg-radio-group {
    display: flex;
    gap: 25px;
    margin-top: 8px;
}

.reg-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .reg-radio-option input[type="radio"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #204988;
    }

    .reg-radio-option label {
        font-size: 14px;
        font-weight: 500;
        color: #1a1a1a;
        cursor: pointer;
        margin: 0;
    }

.reg-declaration-header {
    background: linear-gradient(135deg, #f0f4f8 0%, #e3eaf2 100%);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #204988;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 35px 0 20px;
}

    .reg-declaration-header i {
        font-size: 18px;
    }

.reg-checkbox-group {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding: 16px;
    background: #fafbfc;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
}

    .reg-checkbox-group input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #204988;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .reg-checkbox-group label {
        font-size: 13px;
        line-height: 1.6;
        color: #4b5563;
        cursor: pointer;
    }

.reg-verification-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.reg-captcha-box {
    padding: 7px 32px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e3eaf2 100%);
    border-radius: 10px;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.reg-refresh-btn {
    padding: 12px 20px;
    background: #204988;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    text-decoration:none;
}

    .reg-refresh-btn:hover {
        text-decoration: none;
        background: #163761;
        transform: translateY(-2px);
    }

.reg-otp-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #204988 0%, #3d7bc6 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(32, 73, 136, 0.3);
    text-decoration:none;
}

    .reg-otp-btn:hover {
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(32, 73, 136, 0.4);
    }

.page-btn {
    padding: 12px;
    background: linear-gradient(135deg, #204988 0%, #3d7bc6 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(32, 73, 136, 0.3);
}

    .page-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(32, 73, 136, 0.4);
    }

.page-btn-right {
    padding: 12px;
    float: right;
    background: linear-gradient(135deg, #204988 0%, #3d7bc6 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(32, 73, 136, 0.3);
    text-decoration:none;
}

    .page-btn-right:hover {
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(32, 73, 136, 0.4);
    }


/* Responsive */
@media (max-width: 1024px) {
    .reg-banner-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .reg-banner-text h2 {
        font-size: 26px;
    }

    .reg-banner-text-label {
        font-size: 20px;
        color: white;
        font-weight: 800;
        margin-bottom: 6px;
    }

    .reg-form-body {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .reg-topbar-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 10px;
    }

    .reg-topbar-left,
    .reg-topbar-right {
        gap: 15px;
        font-size: 11px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .reg-header-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 20px;
    }

    .reg-logo-section {
        flex-direction: column;
        text-align: center;
    }

    .reg-banner-content {
        padding: 0 20px;
    }

    .reg-banner-text h2 {
        font-size: 22px;
    }

    .reg-banner-text-label {
        font-size: 20px;     
    }

    .reg-banner-text p {
        font-size: 16px;
    }

    .reg-form-container {
        padding: 0 20px;
    }

    .reg-form-header h1 {
        font-size: 24px;
    }

    .reg-form-header p {
        font-size: 16px;
    }

    .reg-form-body {
        padding: 30px 20px;
    }

    .reg-form-row {
        grid-template-columns: 1fr;
    }

    .reg-date-row {
        grid-template-columns: 1fr;
    }

    .reg-radio-group {
        flex-direction: column;
        gap: 15px;
    }

    .reg-verification-row {
        flex-direction: column;
        align-items: stretch;
    }

        .reg-verification-row .reg-form-group {
            width: 100%;
        }

    .reg-captcha-box {
        width: 100%;
    }

    .reg-container {
        padding: 0 20px;
    }
}

/* Login Form Section */
.login-form-section {
    padding: 60px 0;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
}

.login-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.login-card-header {
    background: linear-gradient(135deg, #f0f4f8 0%, #e3eaf2 100%);
    padding: 25px 35px;
    border-bottom: 2px solid #e5e7eb;
}

    .login-card-header h2 {
        font-size: 26px;
        color: #0066cc;
        font-weight: 700;
        margin: 0;
    }

.hindi-text {
    font-size: 20px;
    color: #0066cc;
    margin-left: 5px;
}

.login-card-body {
    padding: 35px;
}

.login-form-group {
    margin-bottom: 22px;
}

    .login-form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 8px;
    }

.hindi-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.login-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: white;
}

    .login-form-group input:focus {
        outline: none;
        border-color: #0066cc;
        box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    }

    .login-form-group input::placeholder {
        color: #9ca3af;
    }

.password-wrapper {
    position: relative;
}

    .password-wrapper input {
        padding-right: 45px;
    }

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: color 0.3s;
}

    .toggle-password:hover {
        color: #0066cc;
    }

.captcha-section {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    padding: 12px;
    background: #f8f9fa;
    width: 100%;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
}

.captcha-display {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.captcha-box {
    padding: 16px 40px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e3eaf2 100%);
    border-radius: 10px;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .captcha-box span {
        font-weight: bold;
        font-size: 20px;
        color: #204988;
        letter-spacing: 3px;
    }

.refresh-captcha {
    width: 45px;
    height: 45px;
    background: #204988;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 16px;
}

    .refresh-captcha:hover {
        background: #163761;
        transform: rotate(180deg);
    }

.forgot-link {
    margin-bottom: 25px;
}

    .forgot-link a {
        color: #0066cc;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s;
    }

        .forgot-link a:hover {
            color: #004c99;
            text-decoration: underline;
        }

.login-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #3b7bb8 0%, #4a8fd4 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 123, 184, 0.3);
}

    .login-submit-btn:hover {
        background: linear-gradient(135deg, #2d5f8f 0%, #3b7bb8 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(59, 123, 184, 0.4);
    }


/* Responsive */
@media (max-width: 1024px) {
    .login-banner-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .login-banner-text h2 {
        font-size: 30px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .card-steps-list {
        padding: 12px 12px;
        gap: 5px;
    }

    .step-item {
        font-size: 12px;
        padding: 8px 10px;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .topbar-content {
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
    }

    .topbar-left,
    .topbar-right {
        gap: 15px;
        font-size: 11px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-content {
        padding: 0 20px;
        flex-wrap: wrap;
    }

    .header-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .alert-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        margin: -40px 20px 0;
    }

    .guidelines-grid {
        grid-template-columns: 1fr;
    }

    .action-cards {
        grid-template-columns: 1fr;
    }

    .card-steps-list {
        padding: 20px 25px;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }

    .step-item {
        border-right: 1px solid #e5e7eb;
        padding: 10px 12px;
        font-size: 13px;
    }

        .step-item:last-child {
            border-right: none;
        }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .card-registration-options {
        padding: 20px 25px;
    }

    .card-divider {
        margin: 0 25px;
    }

    .registration-btn {
        padding: 14px 16px;
        font-size: 13px;
    }

    .login-card-content {
        padding: 28px 25px;
    }

    .card-header-steps h3,
    .card-header-login h3 {
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .login-topbar-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 10px;
    }

    .login-topbar-left,
    .login-topbar-right {
        gap: 15px;
        font-size: 11px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .login-header-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 20px;
    }

    .login-logo-section {
        flex-direction: column;
        text-align: center;
    }

    .login-banner-content {
        padding: 0 20px;
    }

    .login-banner-text h2 {
        font-size: 26px;
    }

    .login-banner-text p {
        font-size: 15px;
    }

    .login-form-container {
        padding: 0 20px;
    }

    .login-card-header {
        padding: 20px;
    }

        .login-card-header h2 {
            font-size: 22px;
        }

    .hindi-text {
        font-size: 18px;
    }

    .login-card-body {
        padding: 25px 20px;
    }

    .captcha-display {
        flex-direction: column;
    }

    .captcha-box {
        width: 100%;
    }

    .login-container {
        padding: 0 20px;
    }
}


/* Error Section */
.error-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

    .error-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 20% 50%, rgba(32, 73, 136, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(32, 73, 136, 0.03) 0%, transparent 50%);
        pointer-events: none;
    }

.error-container {
    max-width: 700px;
    width: 100%;
    background: white;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(32, 73, 136, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.error-header {
    background: linear-gradient(135deg, #204988 0%, #163761 100%);
    padding: 25px;
    position: relative;
    overflow: hidden;
}

    .error-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 250px;
        height: 250px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 50%;
    }

    .error-header::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 180px;
        height: 180px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
    }

.error-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.icon-img {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.error-icon i {
    font-size: 50px;
    color: white;
}

.icon-img i {
    font-size: 40px;
    color: white;
}

.error-title {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.error-code {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.success-code {
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.error-message {
    font-size: 20px;
    font-weight: 600;
    opacity: 0.95;
}

.error-body {
    padding: 50px 40px;
    text-align: center;
}

.error-description {
    color: #5a6c7d;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.error-details {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 35px;
    border-left: 4px solid #204988;
}

.error-details-title {
    color: #204988;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-details-title-2 {
    color: #204988;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-details-text {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

.error-details-text-2 {
    color: #5a6c7d;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

.error-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.error-btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.error-btn-primary {
    background: linear-gradient(135deg, #204988 0%, #163761 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(32, 73, 136, 0.3);
}

    .error-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(32, 73, 136, 0.4);
    }

.error-btn-secondary {
    background: white;
    color: #204988;
    border: 2px solid #204988;
}

    .error-btn-secondary:hover {
        background: #204988;
        color: white;
        transform: translateY(-2px);
    }

/* Responsive */
@media (max-width: 768px) {
    .error-header {
        padding: 25px 20px;
    }

    .error-icon {
        width: 100px;
        height: 100px;
    }

    .icon-img {
        width: 90px;
        height: 90px;
    }

    .error-icon i {
        font-size: 40px;
    }

    .icon-img i {
        font-size: 30px;
    }

    .error-code {
        font-size: 36px;
    }

    .success-code {
        font-size: 20px;
    }

    .error-message {
        font-size: 18px;
    }

    .error-body {
        padding: 40px 25px;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .error-container {
        border-radius: 20px;
    }

    .error-code {
        font-size: 32px;
    }

    .success-code {
        font-size: 16px;
    }

    .error-message {
        font-size: 16px;
    }

    .error-body {
        padding: 35px 20px;
    }

    .card-steps-list {
        flex-direction: column;
        padding: 15px 20px;
        gap: 0;
    }

    .step-item {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 12px 0;
        justify-content: flex-start;
    }

        .step-item:last-child {
            border-bottom: none;
        }

    .card-registration-options {
        padding: 15px 20px;
    }

    .registration-btn {
        padding: 15px 12px;
        font-size: 13px;
    }

    .login-card-content {
        padding: 25px 20px;
    }

    .card-divider {
        margin: 0 20px;
    }

    .card-header-steps h3,
    .card-header-login h3 {
        font-size: 18px;
        flex-direction: column;
        gap: 5px;
    }

    .hero h2 {
        font-size: 15px;
    }

    .hero-badges {
        gap: 10px;
    }
}


/* ================= WIZARD STEPS ================= */

.wizard-wrapper {
   /* max-width: 1100px;*/
    margin: 20px auto 20px;
    padding: 0 20px;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    list-style: none;
    counter-reset: step;
}

.wizard-link{
    text-decoration:none !important;
}

.wizard-steps li {
    position: relative;
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
}

.wizard-steps li a{
    text-decoration: none;
    position: relative;
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
}

        .wizard-steps li::before {
            counter-increment: step;
            content: counter(step);
            width: 34px;
            height: 34px;
            display: block;
            margin: 0 auto 8px;
            background: #e5e7eb;
            color: #374151;
            border-radius: 50%;
            line-height: 34px;
            font-weight: 700;
        }

        .wizard-steps li::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 3px;
            background: #e5e7eb;
            top: 16px;
            left: -50%;
            z-index: -1;
        }

        .wizard-steps li:first-child::after {
            display: none;
        }

        .wizard-steps li.active {
            color: #204988;
        }

            .wizard-steps li.active::before {
                background: #204988;
                color: #fff;
            }

            .wizard-steps li.completed::before {
                background: #16a34a;
                color: #fff;
            }

            .wizard-steps li.completed::after {
                background: #16a34a;
            }

        .wizard-steps li.pending {
            color: #9ca3af;
        }

            .wizard-steps li.pending::before {
                background: #e5e7eb;
                color: #6b7280;
            }
            
        .wizard-steps li.completed {
            color: #16a34a;
        }
           
        .wizard-steps li.locked {
            pointer-events: none;
            cursor: not-allowed;
            opacity: 0.6;
        }

/* ================= APPLICATION PREVIEW ================= */

.preview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.preview-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

    .preview-row label {
        font-size: 13px;
        font-weight: 600;
        color: #374151;
    }

    .preview-row span {
        font-size: 14px;
        font-weight: 700;
        color: #111827;
        margin-top: 4px;
    }

/* RIGHT PANEL */
.preview-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.photo-box {
    width: 180px;
    height: 220px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #f9fafb;
}

.child-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* STATUS */
.status-box {
    text-align: center;
}

.status-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    display: block;
    margin-bottom: 6px;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
}

.status-draft {
    background: #e0f2fe;
    color: #0369a1;
}

.status-submitted {
    background: #dcfce7;
    color: #166534;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* PRINT */
.print-section {
    text-align: center;
    margin-top: 30px;
}

/* PRINT VIEW */
@media print {
    .reg-page-banner,
    .print-section {
        display: none !important;
    }

    .reg-form-body {
        box-shadow: none;
        border: none;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-right {
        order: -1;
    }
}


/* ================= A4 PRINT LAYOUT ================= */

@page {
    size: A4;
    margin: 15mm;
}

.print-a4 {
    width: 210mm;
    min-height: 297mm;
    margin: auto;
    background: #ffffff;
    color: #000;
    font-family: "Times New Roman", serif;
}

.print-header {
    text-align: center;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

    .print-header h2 {
        font-size: 18px;
        margin: 0;
    }

    .print-header p {
        font-size: 13px;
        margin: 4px 0 0;
    }

.print-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
}

.print-row {
    margin-bottom: 10px;
}

    .print-row label {
        font-size: 12px;
        font-weight: bold;
    }

    .print-row span {
        display: block;
        font-size: 13px;
        margin-top: 2px;
    }

/* PHOTO */
.print-photo {
    width: 140px;
    height: 180px;
    border: 1px solid #000;
    object-fit: cover;
}

/* FOOTER */
.print-footer {
    margin-top: 30px;
    font-size: 11px;
    text-align: center;
    border-top: 1px solid #000;
    padding-top: 8px;
}

/* HIDE UI IN PRINT */
@media print {
    .reg-page-banner,
    .print-section,
    .wizard-wrapper {
        display: none !important;
    }
}

/* DOB single row with section borders */
.dob-bordered-row {
    display: flex;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;   
    margin-bottom: 10px;
}

.dob-ddl {
    flex: 1;
    border: none !important;
    border-right: 2px solid #e5e7eb !important;
    border-radius: 0 !important;
}

    .dob-ddl:last-child {
        border-right: none !important;
    }

/* Mobile stacking */
@media (max-width: 576px) {
    .dob-bordered-row {
        flex-direction: column;
    }

    .dob-ddl {
        border-right: none !important;
        border-bottom: 2px solid #e5e7eb !important;
    }

        .dob-ddl:last-child {
            border-bottom: none !important;
        }
}


/* Secondary login button below submit */
.secondary-login-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #204988;
    border: 2px solid #204988;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .secondary-login-btn:hover {
        background: #204988;
        color: #ffffff;
    }

/* Smooth transition for DOB container */
.dob-bordered-row {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

    /* Focus (click / tap / tab) effect */
    .dob-bordered-row:focus-within {
        border-color: #204988;
        box-shadow: 0 0 0 3px rgba(32, 73, 136, 0.15);
    }

/* Remove default select focus glow */
.dob-ddl:focus {
    outline: none;
    box-shadow: none;
}

/* Divider color change on focus */
.dob-bordered-row:focus-within .dob-ddl {
    border-right-color: #204988 !important;
}

/* Mobile stacked dividers */
@media (max-width: 576px) {
    .dob-bordered-row:focus-within .dob-ddl {
        border-bottom-color: #204988 !important;
    }
}


/* Align forgot links left & right */
.forgot-link {
    display: flex;
    align-items: center;
    width: 100%;
}

    .forgot-link a:first-child {
        margin-right: auto; /* pushes second link to right */
    }

    .forgot-link a {
        font-size: 14px;
        font-weight: 500;
    }

/* OTP resend section */
.otp-resend-wrapper {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.otp-timer-text {
    color: #6b7280;
    font-weight: 500;
    animation: pulseFade 1s infinite;
}

@keyframes pulseFade {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.otp-resend-btn {
    color: #204988;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

    .otp-resend-btn:hover {
        text-decoration: underline;
    }


:root[data-theme="dark"] {
    background-color: #0f172a;
    color: #e5e7eb;
}

    :root[data-theme="dark"] body {
        background: #0f172a;
        color: #e5e7eb;
    }

    :root[data-theme="dark"] .header,
    :root[data-theme="dark"] .topbar,
    :root[data-theme="dark"] .footer {
        background: #020617;
    }

    :root[data-theme="dark"] .guideline-card,
    :root[data-theme="dark"] .reg-form-body,
    :root[data-theme="dark"] .container {
        background: #020617;
        color: #e5e7eb;
    }

.icon-btn.active {
    outline: 2px solid #fff;
}


.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

.contact-row {
    display: flex;
    gap: 16px;
    padding: 16px 14px;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    align-items: flex-start;
    background: #fafbfc;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .contact-icon i {
        font-size: 18px;
        color: #204988;
    }

.contact-text {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

    .contact-text strong {
        color: #204988;
        font-weight: 700;
    }

/* Mobile: stack into one column */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.manual-highlight {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 5px solid #f57c00;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.15);
}

    .manual-highlight i {
        font-size: 36px;
        color: #f57c00;
        flex-shrink: 0;
    }

.manual-link {
    margin-left: auto;
    padding: 10px 18px;
    background: #f57c00;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

    .manual-link:hover {
        background: #ef6c00;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
    }

.instruction-list {
    padding-left: 20px;
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
}

    .instruction-list > li {
        margin-bottom: 14px;
    }

    .instruction-list ul {
        margin-top: 8px;
        padding-left: 20px;
    }

        .instruction-list ul li {
            margin-bottom: 6px;
            list-style-type: disc;
        }


/* Proceed button wrapper */
.proceed-wrapper {
    text-align: right;
    margin-top: 20px;
    margin-bottom: 60px; /* prevents overlap with footer */
}

/* Disabled state for Proceed button */
.btn-disabled {
    pointer-events: none;
    opacity: 0.5;
}

.declaration-text {
    font-weight: 600; /* slightly bold */
    color: #1a1a1a;
}

.hideCtrl{display:none;}

.Para-Custom-Css {
    text-align: justify;
    font-weight: bold;
    font-size: 14px;
}

/*Start DatePickers_Calender on ADmin Module*/
.student-grid th {
    font-weight: bold;
}

.bootstrap-datetimepicker-widget {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    background: #2f3e46; /* dark slate */
    border: 1px solid #1f2a30;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    color: #ffffff;
}


    .bootstrap-datetimepicker-widget .picker-switch {
        background: #354f52;
        color: #ffffff;
        font-weight: 600;
        padding: 6px 0;
        border-radius: 4px;
    }


    .bootstrap-datetimepicker-widget table th {
        background: #3a5a60;
        color: #ffffff;
        font-weight: 600;
        border-bottom: 1px solid #4f6f73;
    }


    .bootstrap-datetimepicker-widget table td.day {
        background: #2f3e46;
        color: #ffffff;
        font-weight: 500;
        border-radius: 4px;
        transition: background 0.2s ease;
    }


        .bootstrap-datetimepicker-widget table td.day:hover {
            background: #52796f;
            cursor: pointer;
        }


    .bootstrap-datetimepicker-widget table td.old,
    .bootstrap-datetimepicker-widget table td.new {
        background: #263238;
        color: #9aa5b1 !important;
        opacity: 0.6;
    }


    .bootstrap-datetimepicker-widget table td.active,
    .bootstrap-datetimepicker-widget table td.active:hover {
        background: #f4a261;
        color: #000000;
        font-weight: 700;
        border-radius: 50%;
    }

    /* Today */
    .bootstrap-datetimepicker-widget table td.today {
        border: 2px solid #f4a261;
        background: transparent;
        border-radius: 50%;
    }


    .bootstrap-datetimepicker-widget .btn {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 10px !important;
        width: auto !important;
        height: auto !important;
    }


    .bootstrap-datetimepicker-widget .glyphicon-chevron-left,
    .bootstrap-datetimepicker-widget .glyphicon-chevron-right,
    .bootstrap-datetimepicker-widget .fa-chevron-left,
    .bootstrap-datetimepicker-widget .fa-chevron-right {
        color: #ffffff !important;
        font-size: 20px !important;
        font-weight: 700;
        line-height: 1;
    }

    .bootstrap-datetimepicker-widget .btn:hover
    .glyphicon-chevron-left,
    .bootstrap-datetimepicker-widget .btn:hover
    .glyphicon-chevron-right,
    .bootstrap-datetimepicker-widget .btn:hover
    .fa-chevron-left,
    .bootstrap-datetimepicker-widget .btn:hover
    .fa-chevron-right {
        color: #f4a261 !important;
    }
/*End DatePickers_Calender on ADmin Module*/

.logo-img {
    width: 100%;
    height: auto;
    display: block;
}

.mt-40 {
    margin-top: 40px;
}

/* page-specific reset for instructions page */
.instructions-reset ul,
.instructions-reset li {
    margin: 0;
    padding: 0;
}

.instructions-reset ol li::marker {
    font-weight: bold;
}

.captcha-img {
    width: 120px;
    height: 50px;
    display: block;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Added to external stylesheet to replace inline <style> in registration-print.aspx */
.printable-area {          
    border: 1px solid #000;
    padding: 16px;
    background-repeat: no-repeat;
    background-position: top left;
}

.printable-area .table {
    font-size: 12px;
}

.printable-area .table th,
.printable-area .table td {
    background-color: transparent;
}

.main-logo {
    width: 80px;
    height: 80px;    
}

.child-photo-print {
    width: 150px;
    height: 150px;
}

/* universal wrapper for asp:Button icons */
/* wrapper must NOT use flex */
/* wrapper */
.btn-csp-icon {
    position: relative;
    display: block;
    width: 100%;
}

    /* keep original button intact */
    .btn-csp-icon .registration-btn {
        width: 100%;
        padding-left: 0;
    }
      
    /* icon aligned near centered text */
    .btn-csp-icon::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 18px;
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-140px, -50%);
        /* adjusts icon relative to centered text */

        color: #ffffff;
        pointer-events: none;
        z-index: 2;
    }

    /* KEEP icon visible on hover */
    .btn-csp-icon:hover::before {
        color: #ffffff;
    }

  
/* registration */
.icon-user-plus::before {
    content: "\f234";
}

/* login */
.icon-login::before {
    content: "\f2f6";
}

/* delete */
.icon-delete::before {
    content: "\f1f8";
}

/* edit */
.icon-edit::before {
    content: "\f044";
}

/* save */
.icon-save::before {
    content: "\f0c7";
}

/* search */
.icon-search::before {
    content: "\f002";
}

/* upload */
.icon-upload::before {
    content: "\f093";
}

/* download */
.icon-download::before {
    content: "\f019";
}

/* next */
.icon-next::before {
    content: "\f054";
}

/* back */
.icon-back::before {
    content: "\f053";
}


.icon-arrow-left::before {
    content: "\f060";   
}

.icon-arrow-right::before {
    content: "\f061";   
}
.mt-minus10{
    margin-top: -10px;
}

