/* =========================================================
   CVC YUVA SANKALPA
   Main Website Styles
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

:root {
    --cvc-primary: #7b1e1e;
    --cvc-primary-dark: #5b1414;
    --cvc-accent: #d49a2a;
    --cvc-dark: #171717;
    --cvc-text: #333333;
    --cvc-muted: #6b7280;
    --cvc-light: #f8f6f2;
    --cvc-white: #ffffff;
    --cvc-border: #e7e1d8;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    font-family:
        "Noto Sans Kannada",
        "Noto Sans",
        Arial,
        sans-serif;

    color: var(--cvc-text);

    background: var(--cvc-white);

    line-height: 1.7;
}


a {
    text-decoration: none;
}


img {
    max-width: 100%;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
    min-height: 76px;
}


.navbar-brand {
    color: var(--cvc-primary) !important;

    letter-spacing: 0.5px;
}


.brand-main {
    font-size: 1.15rem;
    font-weight: 800;
}


.navbar .nav-link {
    color: #333333;

    font-size: 0.95rem;

    font-weight: 600;

    margin-left: 5px;
    margin-right: 5px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.navbar .nav-link:hover {
    color: var(--cvc-primary);
}


.navbar .nav-link.active {
    color: var(--cvc-primary);
}


.navbar .btn-primary {
    background: var(--cvc-primary);
    border-color: var(--cvc-primary);

    font-weight: 600;

    border-radius: 7px;
}


.navbar .btn-primary:hover {
    background: var(--cvc-primary-dark);
    border-color: var(--cvc-primary-dark);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn-primary {
    background: var(--cvc-primary);
    border-color: var(--cvc-primary);
}


.btn-primary:hover {
    background: var(--cvc-primary-dark);
    border-color: var(--cvc-primary-dark);
}


.btn-outline-dark {
    border-width: 1.5px;
}


.btn {
    border-radius: 7px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    position: relative;

    overflow: hidden;

    padding:
        90px 0
        100px;

    background:
        linear-gradient(
            135deg,
            #fffdf9 0%,
            #f7f0e7 100%
        );
}


.hero-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -150px;
    top: -160px;

    border-radius: 50%;

    background: rgba(212, 154, 42, 0.08);
}


.hero-section::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    left: -130px;
    bottom: -150px;

    border-radius: 50%;

    background: rgba(123, 30, 30, 0.05);
}


.hero-content {
    position: relative;
    z-index: 2;
}


.hero-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--cvc-primary);

    font-size: 0.9rem;

    font-weight: 800;

    letter-spacing: 2px;
}


.hero-content h1 {
    margin: 0;

    color: var(--cvc-dark);

    font-size: clamp(
        2.2rem,
        5vw,
        4.4rem
    );

    line-height: 1.2;

    font-weight: 800;
}


.hero-content h2 {
    margin-top: 12px;

    color: var(--cvc-primary);

    font-size: clamp(
        1.5rem,
        3vw,
        2.5rem
    );

    font-weight: 700;
}


.hero-subtitle {
    margin-top: 20px;

    color: #555555;

    font-size: 1.15rem;

    font-weight: 600;
}


.hero-description {
    max-width: 720px;

    margin-top: 18px;

    color: #555555;

    font-size: 1rem;
}


.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


.hero-buttons .btn {
    padding:
        12px 25px;

    font-weight: 700;
}


/* =========================================================
   CVC IMAGE
   ========================================================= */

.hero-image-wrapper {
    position: relative;

    z-index: 2;

    display: flex;

    justify-content: center;
    align-items: flex-end;

    min-height: 480px;
}


.hero-cvc-image {
    display: block;

    max-height: 520px;

    width: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 18px 28px rgba(0, 0, 0, 0.14)
        );
}


/* =========================================================
   STATISTICS
   ========================================================= */

.stats-section {
    position: relative;

    margin-top: -35px;

    z-index: 10;
}


.stat-card {
    height: 100%;

    padding: 28px 20px;

    text-align: center;

    background: var(--cvc-white);

    border: 1px solid var(--cvc-border);

    border-radius: 12px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.stat-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.10);
}


.stat-number {
    color: var(--cvc-primary);

    font-size: 2rem;

    font-weight: 800;

    line-height: 1.2;
}


.stat-label {
    margin-top: 8px;

    color: var(--cvc-muted);

    font-size: 0.95rem;

    font-weight: 600;
}


/* =========================================================
   COMMON SECTION
   ========================================================= */

.about-section,
.how-section {
    padding: 100px 0;
}


.section-heading {
    margin-bottom: 45px;

    text-align: center;
}


.section-kicker {
    display: block;

    margin-bottom: 8px;

    color: var(--cvc-primary);

    font-size: 0.9rem;

    font-weight: 800;

    letter-spacing: 0.5px;
}


.section-heading h2 {
    margin: 0;

    color: var(--cvc-dark);

    font-size: clamp(
        1.8rem,
        3vw,
        2.7rem
    );

    font-weight: 800;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: var(--cvc-white);
}


.about-text {
    margin: 0;

    color: #4b5563;

    font-size: 1.1rem;

    line-height: 2;

    text-align: center;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.how-section {
    background: var(--cvc-light);
}


.how-card {
    display: flex;

    gap: 22px;

    height: 100%;

    padding: 32px;

    background: var(--cvc-white);

    border: 1px solid var(--cvc-border);

    border-radius: 12px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.25s ease;
}


.how-card:hover {
    transform: translateY(-5px);
}


.step-number {
    flex: 0 0 auto;

    display: flex;

    justify-content: center;
    align-items: center;

    width: 58px;
    height: 58px;

    border-radius: 50%;

    color: var(--cvc-white);

    background: var(--cvc-primary);

    font-size: 1rem;

    font-weight: 800;
}


.how-card h3 {
    margin: 0 0 10px;

    color: var(--cvc-dark);

    font-size: 1.25rem;

    font-weight: 700;
}


.how-card p {
    margin: 0;

    color: #666666;
}


/* =========================================================
   CALL TO ACTION
   ========================================================= */

.cta-section {
    padding: 90px 0;

    background:
        linear-gradient(
            135deg,
            var(--cvc-primary),
            var(--cvc-primary-dark)
        );

    color: var(--cvc-white);

    text-align: center;
}


.cta-content {
    max-width: 850px;

    margin: auto;
}


.cta-section .section-kicker {
    color: #f5d48a;
}


.cta-section h2 {
    margin: 10px 0 15px;

    font-size: clamp(
        1.8rem,
        4vw,
        3rem
    );

    font-weight: 800;
}


.cta-section p {
    margin-bottom: 28px;

    font-size: 1.05rem;

    opacity: 0.92;
}


.cta-section .btn-light {
    color: var(--cvc-primary);

    font-weight: 700;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 65px 0 25px;

    color: #d7d7d7;

    background: #171717;
}


.footer-brand {
    color: var(--cvc-white);

    font-size: 1.25rem;

    font-weight: 800;

    letter-spacing: 0.5px;
}


.footer-tagline {
    margin:
        10px 0 4px;

    color: #bbbbbb;
}


.footer-kannada {
    margin: 0;

    color: #d49a2a;

    font-weight: 600;
}


.footer-heading {
    margin-bottom: 18px;

    color: var(--cvc-white);

    font-size: 1rem;

    font-weight: 700;
}


.footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}


.footer-links li {
    margin-bottom: 9px;
}


.footer-links a {
    color: #bdbdbd;

    font-size: 0.95rem;

    transition:
        color 0.2s ease;
}


.footer-links a:hover {
    color: var(--cvc-white);
}


.footer-divider {
    margin:
        45px 0 20px;

    border-color: rgba(255, 255, 255, 0.12);
}


.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;

    color: #999999;

    font-size: 0.85rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .navbar .nav-link {
        margin:
            5px 0;
    }


    .navbar .btn {
        margin-top: 8px;
        margin-bottom: 8px;
    }


    .hero-section {
        padding:
            65px 0 85px;
    }


    .hero-image-wrapper {
        min-height: auto;

        margin-top: 20px;
    }


    .hero-cvc-image {
        max-height: 430px;
    }


    .stats-section {
        margin-top: -25px;
    }

}


@media (max-width: 767.98px) {

    .hero-section {
        padding:
            55px 0 75px;
    }


    .hero-content {
        text-align: center;
    }


    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-buttons {
        justify-content: center;
    }


    .hero-image-wrapper {
        min-height: 350px;
    }


    .hero-cvc-image {
        max-height: 370px;
    }


    .about-section,
    .how-section {
        padding:
            70px 0;
    }


    .how-card {
        padding: 25px;
    }


    .cta-section {
        padding:
            70px 20px;
    }


    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }

}


@media (max-width: 575.98px) {

    .brand-main {
        font-size: 1rem;
    }


    .hero-content h1 {
        font-size: 2rem;
    }


    .hero-content h2 {
        font-size: 1.4rem;
    }


    .hero-subtitle {
        font-size: 1rem;
    }


    .hero-image-wrapper {
        min-height: 300px;
    }


    .hero-cvc-image {
        max-height: 330px;
    }


    .stat-card {
        padding:
            22px 12px;
    }


    .stat-number {
        font-size: 1.55rem;
    }


    .stat-label {
        font-size: 0.82rem;
    }


    .how-card {
        flex-direction: column;

        text-align: center;

        align-items: center;
    }

}
/* =========================================================
   REGISTRATION PAGE
   ========================================================= */

.registration-section {
    padding: 80px 0 100px;

    background: #f8f6f2;
}


.registration-heading {
    max-width: 850px;

    margin: 0 auto 45px;
}


.registration-heading h1 {
    margin: 8px 0 12px;

    color: var(--cvc-dark);

    font-size: clamp(2rem, 4vw, 3.2rem);

    font-weight: 800;
}


.registration-heading p {
    margin: 0;

    color: var(--cvc-muted);

    font-size: 1.05rem;
}


.registration-card {
    max-width: 1050px;

    margin: auto;

    background: #ffffff;

    border: 1px solid var(--cvc-border);

    border-radius: 16px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.07);

    overflow: hidden;
}


.form-section {
    padding: 40px;

    border-bottom: 1px solid var(--cvc-border);
}


.form-section:last-child {
    border-bottom: 0;
}


.form-section-heading {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 30px;
}


.form-section-number {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: var(--cvc-primary);

    color: #ffffff;

    font-size: 0.9rem;

    font-weight: 800;
}


.form-section-heading h2 {
    margin: 0;

    color: var(--cvc-dark);

    font-size: 1.35rem;

    font-weight: 800;
}


.form-section-heading p {
    margin: 2px 0 0;

    color: var(--cvc-primary);

    font-size: 0.88rem;

    font-weight: 600;
}


.form-label {
    margin-bottom: 8px;

    color: #303030;

    font-weight: 700;
}


.form-label span {
    color: #b42318;
}


.form-control,
.form-select {
    min-height: 48px;

    border: 1px solid #d8d2ca;

    border-radius: 7px;
}


textarea.form-control {
    min-height: 110px;
}


.form-control:focus,
.form-select:focus {
    border-color: var(--cvc-primary);

    box-shadow:
        0 0 0 0.2rem rgba(123, 30, 30, 0.10);
}


.form-hint {
    margin-top: 5px;

    color: #777777;

    font-size: 0.78rem;
}


.verification-notice {
    margin-bottom: 25px;

    padding: 18px 20px;

    border-left: 4px solid var(--cvc-accent);

    border-radius: 7px;

    background: #fff9ed;
}


.verification-notice strong {
    display: block;

    margin-bottom: 5px;

    color: var(--cvc-primary);
}


.verification-notice p {
    margin: 0;

    color: #5f574d;

    font-size: 0.9rem;
}


.declaration-box {
    padding: 22px;

    border: 1px solid var(--cvc-border);

    border-radius: 9px;

    background: #faf9f7;
}


.declaration-box .form-check {
    display: flex;

    gap: 12px;
}


.declaration-box .form-check-input {
    flex: 0 0 auto;

    width: 20px;
    height: 20px;

    margin-top: 4px;
}


.declaration-box .form-check-input:checked {
    background-color: var(--cvc-primary);

    border-color: var(--cvc-primary);
}


.declaration-box .form-check-label {
    color: #555555;

    font-size: 0.9rem;

    line-height: 1.75;
}


.registration-submit {
    padding: 35px 40px;

    text-align: center;

    background: #faf9f7;
}


.registration-submit .btn {
    min-width: 230px;

    padding: 13px 30px;

    font-weight: 700;
}


.registration-submit p {
    margin: 12px 0 0;

    color: #777777;

    font-size: 0.82rem;
}


.registration-alert {
    max-width: 1050px;

    margin: 0 auto 25px;

    border-radius: 10px;
}


.registration-success {
    max-width: 750px;

    margin: 0 auto;

    padding: 55px 40px;

    text-align: center;

    background: #ffffff;

    border: 1px solid var(--cvc-border);

    border-radius: 16px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.07);
}


.success-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #e8f5e9;

    color: #26743a;

    font-size: 2rem;

    font-weight: 800;
}


.registration-success h2 {
    margin-bottom: 12px;

    color: var(--cvc-dark);

    font-weight: 800;
}


.registration-success > p {
    color: #666666;
}


.application-number-box {
    margin: 25px auto;

    padding: 20px;

    border: 1px solid var(--cvc-border);

    border-radius: 10px;

    background: #faf9f7;
}


.application-number-box span {
    display: block;

    margin-bottom: 7px;

    color: #777777;

    font-size: 0.85rem;
}


.application-number-box strong {
    display: block;

    color: var(--cvc-primary);

    font-size: 1.45rem;

    letter-spacing: 1px;
}


.success-note {
    max-width: 620px;

    margin: 20px auto 30px;

    line-height: 1.8;
}


@media (max-width: 767.98px) {

    .registration-section {
        padding: 55px 0 70px;
    }


    .form-section {
        padding: 28px 22px;
    }


    .form-section-heading {
        align-items: flex-start;
    }


    .registration-submit {
        padding: 30px 22px;
    }


    .registration-success {
        padding: 40px 22px;
    }

}
/* =========================================================
   ADMIN APPLICATIONS
   ========================================================= */

.admin-page {
    padding: 55px 0 90px;
    background: #f8f6f2;
    min-height: 70vh;
}

.admin-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
}

.admin-page-header h1 {
    margin: 8px 0 8px;
    color: var(--cvc-dark);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
}

.admin-page-header p {
    margin: 0;
    color: #777;
}

.admin-user-badge {
    padding: 12px 18px;
    border: 1px solid var(--cvc-border);
    border-radius: 8px;
    background: #fff;
    text-align: right;
}

.admin-user-badge span {
    display: block;
    color: #777;
    font-size: 0.75rem;
}

.admin-user-badge strong {
    color: var(--cvc-primary);
    font-size: 0.9rem;
}

.application-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px));
    gap: 15px;
    margin-bottom: 25px;
}

.summary-card {
    padding: 20px;
    border: 1px solid var(--cvc-border);
    border-radius: 10px;
    background: #fff;
}

.summary-card span {
    display: block;
    margin-bottom: 5px;
    color: #777;
    font-size: 0.8rem;
}

.summary-card strong {
    color: var(--cvc-primary);
    font-size: 1.5rem;
}

.application-filter-card {
    margin-bottom: 25px;
    padding: 25px;
    border: 1px solid var(--cvc-border);
    border-radius: 12px;
    background: #fff;
}

.application-filter-card .form-label {
    margin-bottom: 7px;
    font-weight: 700;
}

.clear-filter {
    color: var(--cvc-primary);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
}

.clear-filter:hover {
    text-decoration: underline;
}

.application-table-card {
    border: 1px solid var(--cvc-border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.application-table {
    margin: 0;
    vertical-align: middle;
}

.application-table thead th {
    padding: 15px 13px;
    background: #f5f1eb;
    color: #4b4037;
    border-bottom: 1px solid var(--cvc-border);
    white-space: nowrap;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.application-table tbody td {
    padding: 16px 13px;
    border-bottom: 1px solid #eee9e3;
}

.application-table tbody tr:last-child td {
    border-bottom: 0;
}

.application-table tbody tr:hover {
    background: #fdfbf8;
}

.application-table td strong {
    display: block;
    color: #333;
    font-size: 0.88rem;
}

.application-table td small {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: 0.75rem;
}

.serial-number {
    color: #888;
    font-size: 0.8rem;
}

.application-number {
    color: var(--cvc-primary) !important;
}

.verification-status {
    display: flex;
    flex-direction: column;
    gap: 4px;
    white-space: nowrap;
}

.verification-status span {
    font-size: 0.73rem;
    font-weight: 600;
}

.verification-status .verified {
    color: #26743a;
}

.verification-status .not-verified {
    color: #9a6b17;
}

.application-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.status-pending {
    background: #fff4d6;
    color: #8a6100;
}

.status-under_review {
    background: #e9f2ff;
    color: #1f5f9a;
}

.status-approved {
    background: #e7f6eb;
    color: #26743a;
}

.status-rejected {
    background: #fdeaea;
    color: #a22a2a;
}

.status-blocked {
    background: #eeeeee;
    color: #555;
}

.no-applications {
    padding: 70px 20px !important;
    text-align: center;
}

.no-data-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #f1eee9;
    color: #777;
    font-size: 1.4rem;
}

.no-applications h3 {
    margin-bottom: 7px;
    color: #444;
    font-size: 1.1rem;
}

.no-applications p {
    margin: 0;
    color: #888;
    font-size: 0.85rem;
}

.application-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 20px;
    border-top: 1px solid var(--cvc-border);
    background: #faf9f7;
}

.pagination-info {
    color: #777;
    font-size: 0.8rem;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-btn {
    padding: 7px 12px;
    border: 1px solid #d5cec5;
    border-radius: 6px;
    background: #fff;
    color: var(--cvc-primary);
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 600;
}

.pagination-btn:hover {
    background: var(--cvc-primary);
    color: #fff;
}

.pagination-current {
    color: #666;
    font-size: 0.8rem;
}

@media (max-width: 767.98px) {

    .admin-page {
        padding: 40px 0 65px;
    }

    .admin-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-user-badge {
        text-align: left;
    }

    .application-summary {
        grid-template-columns: 1fr 1fr;
    }

    .application-filter-card {
        padding: 20px;
    }

    .application-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

}
/* =========================================================
   LOGIN PAGE
   ========================================================= */

.login-page {
    min-height: 75vh;
    padding: 70px 0 90px;
    background: #f8f6f2;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 100%;
    max-width: 470px;
    padding: 42px;
    border: 1px solid var(--cvc-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
}

.login-brand {
    margin-bottom: 30px;
    text-align: center;
}

.login-logo {
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-brand h1 {
    margin: 8px 0 8px;
    color: var(--cvc-dark);
    font-size: 2rem;
    font-weight: 800;
}

.login-brand p {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
}

.login-form-group {
    margin-bottom: 20px;
}

.login-form-group .form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 700;
    font-size: 0.88rem;
}

.login-form-group .form-control {
    min-height: 48px;
    border: 1px solid #d8d1c9;
    border-radius: 8px;
}

.login-form-group .form-control:focus {
    border-color: var(--cvc-primary);
    box-shadow: 0 0 0 3px rgba(123, 30, 30, 0.10);
}

.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 70px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--cvc-primary);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.password-toggle:hover {
    text-decoration: underline;
}

.login-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 5px;
    font-weight: 700;
}

.login-alert {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 22px;
    padding: 13px 15px;
    border: 1px solid #efcaca;
    border-radius: 8px;
    background: #fff1f1;
    color: #9a2525;
    font-size: 0.82rem;
}

.login-alert strong {
    font-size: 0.85rem;
}

.login-footer {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #eee9e3;
    text-align: center;
}

.login-footer p {
    display: inline;
    margin: 0;
    color: #777;
    font-size: 0.82rem;
}

.login-footer a {
    margin-left: 5px;
    color: var(--cvc-primary);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 575.98px) {

    .login-page {
        padding: 45px 15px 65px;
    }

    .login-card {
        padding: 30px 22px;
    }

    .login-brand h1 {
        font-size: 1.7rem;
    }

}
/* =========================================================
   APPLICATION VIEW
   ========================================================= */

.application-view-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
}

.application-view-header h1 {
    margin: 8px 0;
    color: var(--cvc-dark);
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 800;
}

.application-view-header p {
    margin: 0;
    color: #777;
}

.back-link {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--cvc-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.application-header-status {
    min-width: 220px;
    padding: 18px 20px;
    border: 1px solid var(--cvc-border);
    border-radius: 10px;
    background: #fff;
}

.application-header-status > span:first-child {
    display: block;
    margin-bottom: 4px;
    color: #777;
    font-size: 0.75rem;
}

.application-header-status > strong {
    display: block;
    margin-bottom: 10px;
    color: var(--cvc-primary);
    font-size: 1.1rem;
}

.application-view-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.application-detail-card {
    border: 1px solid var(--cvc-border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.application-detail-card.full-width {
    grid-column: 1 / -1;
}

.detail-card-header {
    padding: 18px 22px;
    border-bottom: 1px solid #eee9e3;
    background: #faf9f7;
}

.detail-card-header h2 {
    margin: 0;
    color: #403831;
    font-size: 1.05rem;
    font-weight: 800;
}

.detail-card-body {
    padding: 24px;
}

.application-profile-area {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    padding-bottom: 22px;
    border-bottom: 1px solid #eee9e3;
}

.application-profile-photo {
    width: 85px;
    height: 85px;
    flex: 0 0 85px;
    overflow: hidden;
    border-radius: 10px;
    background: #f1eee9;
}

.application-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #888;
    font-size: 0.7rem;
    text-align: center;
}

.application-profile-area h3 {
    margin: 0 0 5px;
    color: #333;
    font-size: 1.15rem;
}

.application-profile-area p {
    margin: 0;
    color: #888;
    font-size: 0.78rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.detail-grid.single {
    grid-template-columns: 1fr;
    margin-top: 20px;
}

.detail-item span {
    display: block;
    margin-bottom: 5px;
    color: #888;
    font-size: 0.75rem;
}

.detail-item strong {
    display: block;
    color: #333;
    font-size: 0.88rem;
    line-height: 1.5;
    word-break: break-word;
}

.hash-value {
    font-size: 0.68rem !important;
    font-family: monospace;
    color: #777 !important;
}

.aadhaar-box {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #e7ded2;
    border-radius: 9px;
    background: #faf7f2;
}

.aadhaar-box span {
    display: block;
    margin-bottom: 5px;
    color: #777;
    font-size: 0.75rem;
}

.aadhaar-box strong {
    display: block;
    color: var(--cvc-primary);
    font-size: 1.15rem;
    letter-spacing: 0.08em;
}

.aadhaar-box small {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 0.72rem;
}

.document-action {
    margin-bottom: 22px;
}

.document-missing {
    margin-bottom: 22px;
    padding: 12px 15px;
    border-radius: 7px;
    background: #fff4d6;
    color: #806100;
    font-size: 0.8rem;
}

.address-display {
    margin-bottom: 22px;
    padding: 17px;
    border-radius: 8px;
    background: #faf9f7;
    color: #444;
    font-size: 0.9rem;
    line-height: 1.7;
}

.verification-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.verification-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid #e7e1da;
    border-radius: 9px;
    background: #fff;
}

.verification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: #f1eee9;
    color: var(--cvc-primary);
    font-weight: 800;
}

.verification-box span {
    display: block;
    margin-bottom: 4px;
    color: #777;
    font-size: 0.75rem;
}

.verification-box strong {
    display: block;
    color: #333;
    font-size: 0.9rem;
}

.verification-box small {
    display: block;
    margin-top: 7px;
    color: #888;
    font-size: 0.7rem;
    line-height: 1.5;
}

.remarks-box {
    margin-top: 20px;
    padding: 18px;
    border-left: 4px solid var(--cvc-accent);
    background: #faf8f4;
}

.remarks-box span {
    display: block;
    margin-bottom: 7px;
    color: #777;
    font-size: 0.75rem;
    font-weight: 700;
}

.remarks-box p {
    margin: 0;
    color: #444;
    font-size: 0.85rem;
    line-height: 1.6;
}

.application-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
}

@media (max-width: 767.98px) {

    .application-view-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .application-header-status {
        width: 100%;
    }

    .application-view-grid {
        grid-template-columns: 1fr;
    }

    .application-detail-card.full-width {
        grid-column: auto;
    }

    .verification-panel {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .application-actions {
        flex-direction: column;
    }

    .application-actions .btn {
        width: 100%;
    }

}
/* =========================================================
   APPLICATION VERIFICATION
   ========================================================= */

.verification-success,
.verification-error {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 9px;
    font-size: 0.85rem;
}

.verification-success {
    border: 1px solid #b9dfc2;
    background: #eaf7ed;
    color: #286a39;
}

.verification-error {
    border: 1px solid #efcaca;
    background: #fff0f0;
    color: #9a2929;
}

.verification-summary-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid var(--cvc-border);
    border-radius: 12px;
    background: #fff;
}

.verification-summary-photo {
    width: 75px;
    height: 75px;
    flex: 0 0 75px;
    overflow: hidden;
    border-radius: 10px;
    background: #f1eee9;
}

.verification-summary-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verification-summary-photo div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #888;
    font-size: 0.7rem;
}

.verification-summary-info span {
    display: block;
    color: #888;
    font-size: 0.75rem;
}

.verification-summary-info h2 {
    margin: 4px 0 7px;
    color: #333;
    font-size: 1.25rem;
}

.verification-summary-info p {
    margin: 0;
    color: #777;
    font-size: 0.8rem;
}

.verification-form-card {
    border: 1px solid var(--cvc-border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.verification-form-card .detail-card-header p {
    margin: 5px 0 0;
    color: #888;
    font-size: 0.78rem;
}

.verification-input-box {
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid #e5ded6;
    border-radius: 10px;
    background: #fcfbf9;
}

.verification-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    cursor: pointer;
}

.verification-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-check {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    margin-top: 2px;
    border: 2px solid #b9b0a7;
    border-radius: 5px;
    background: #fff;
    transition: all 0.15s ease;
}

.verification-checkbox input:checked + .custom-check {
    border-color: var(--cvc-primary);
    background: var(--cvc-primary);
    position: relative;
}

.verification-checkbox input:checked + .custom-check::after {
    content: "✓";
    position: absolute;
    top: -2px;
    left: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.verification-input-content {
    display: block;
}

.verification-input-content strong {
    display: block;
    color: #333;
    font-size: 0.92rem;
}

.verification-input-content small {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 0.77rem;
    line-height: 1.55;
}

.previous-verification {
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #e8e2dc;
    color: #888;
    font-size: 0.72rem;
}

.previous-verification strong {
    color: #555;
}

.verification-remarks-group {
    margin-top: 25px;
}

.verification-remarks-group .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.verification-remarks-group textarea {
    resize: vertical;
    min-height: 130px;
}

.verification-remarks-group > small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 0.7rem;
}

.verification-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #eee9e3;
}

.verification-locked-card {
    padding: 55px 25px;
    border: 1px solid var(--cvc-border);
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.locked-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #e8f5eb;
    color: #2d783f;
    font-size: 1.5rem;
    font-weight: 800;
}

.verification-locked-card h2 {
    margin-bottom: 8px;
    color: #333;
    font-size: 1.2rem;
}

.verification-locked-card p {
    max-width: 550px;
    margin: 0 auto 20px;
    color: #777;
    font-size: 0.85rem;
    line-height: 1.6;
}

@media (max-width: 575.98px) {

    .verification-summary-card {
        align-items: flex-start;
    }

    .verification-form-actions {
        flex-direction: column;
    }

    .verification-form-actions .btn {
        width: 100%;
    }

}
/* =========================================================
   DOCUMENT VERIFICATION
   ========================================================= */

.document-preview-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    background: #ffffff;
    height: 100%;
}

.document-preview-card h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
}

.document-image-wrapper {
    width: 100%;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.document-preview-image {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 6px;
}

.aadhaar-preview-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 6px;
}

.document-not-available {
    padding: 40px 20px;
    text-align: center;
    color: #777;
    background: #f8f8f8;
    border: 1px dashed #ccc;
    border-radius: 10px;
}

.profile-photo {
    width: 140px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}
/* =========================================================
   DOCUMENT PREVIEW
   ========================================================= */

.document-image-wrapper {
    position: relative;
    width: 100%;
    height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f5f5f5;
    border: 1px solid #e2e2e2;
    border-radius: 12px;

    cursor: zoom-in;
}


/* Equal preview size */

.document-preview-image {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* Small zoom indication */

.image-preview-hint {
    position: absolute;

    bottom: 12px;
    left: 50%;

    transform: translateX(-50%);

    background: rgba(0, 0, 0, 0.72);
    color: #fff;

    padding: 6px 14px;

    border-radius: 20px;

    font-size: 13px;

    pointer-events: none;

    opacity: 0;

    transition: opacity 0.2s ease;
}


.document-image-wrapper:hover .image-preview-hint {
    opacity: 1;
}


.document-image-wrapper:hover .document-preview-image {
    transform: scale(1.03);
}


/* =========================================================
   DOCUMENT CARD
   ========================================================= */

.document-preview-card {
    height: 100%;
}


.document-preview-card h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}


/* =========================================================
   IMAGE MODAL
   ========================================================= */

.document-preview-modal {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, 0.88);
}


.document-preview-modal.active {
    display: flex;
}


.document-preview-modal img {
    max-width: 95vw;
    max-height: 92vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 6px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5);
}


/* Close button */

.document-preview-modal-close {
    position: fixed;

    top: 20px;
    right: 28px;

    width: 44px;
    height: 44px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #222;

    font-size: 28px;
    line-height: 44px;

    text-align: center;

    cursor: pointer;

    z-index: 10000;
}


.document-preview-modal-close:hover {
    background: #fff;
}


/* Mobile */

@media (max-width: 767px) {

    .document-image-wrapper {
        height: 300px;
    }

    .document-preview-modal {
        padding: 15px;
    }

    .document-preview-modal img {
        max-width: 98vw;
        max-height: 88vh;
    }

    .document-preview-modal-close {
        top: 10px;
        right: 12px;
    }

}
/* =========================================================
   DOCUMENT PREVIEW
   Equal-size display + click to enlarge
   ========================================================= */

.document-preview-card {
    height: 100%;
    overflow: hidden;
}

.document-image-wrapper {
    width: 100%;
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #dddddd;
    border-radius: 10px;
    cursor: zoom-in;
}

/* Both profile photo and Aadhaar use the same display area */

.document-preview-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block;
}

/* Small instruction at bottom */

.image-preview-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 8px 12px;

    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;

    font-size: 13px;
    text-align: center;

    opacity: 0;
    transition: opacity 0.2s ease;
}

.document-image-wrapper:hover .image-preview-hint {
    opacity: 1;
}


/* =========================================================
   FULL SCREEN IMAGE MODAL
   ========================================================= */

.document-preview-modal {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.90);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 40px;

    z-index: 99999;

    cursor: zoom-out;
}

.document-preview-modal.active {
    display: flex;
}


/* Enlarged image */

.document-preview-modal img {
    display: block;

    max-width: 95vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 6px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.50);

    cursor: default;
}


/* Close button */

.document-preview-modal-close {
    position: absolute;

    top: 20px;
    right: 25px;

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #222222;

    font-size: 32px;
    line-height: 40px;

    cursor: pointer;

    z-index: 100000;
}

.document-preview-modal-close:hover {
    background: #ffffff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .document-image-wrapper {
        height: 280px;
    }

    .document-preview-modal {
        padding: 20px;
    }

    .document-preview-modal img {
        max-width: 96vw;
        max-height: 88vh;
    }

}
.document-image-wrapper {
    width: 100% !important;
    height: 320px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.document-image-wrapper img.document-preview-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}