﻿
/* ==========================================
   JAGDAMBA DEGREE COLLEGE
   MANDATORY DISCLOSURES
   PREMIUM BLUE + GOLD
========================================== */

.public-disclosure-page {
    background: #fff;
    color: #243247;
}

/* ==========================================
   HERO SECTION
========================================== */

.disclosure-hero {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 85% 15%, rgba(214,166,58,.20), transparent 30%), linear-gradient(120deg, #0B2545, #123B70 65%, #1D4E84);
}

    .disclosure-hero::before {
        content: "";
        position: absolute;
        width: 450px;
        height: 450px;
        right: -130px;
        top: -200px;
        border: 1px solid rgba(255,255,255,.09);
        border-radius: 50%;
    }

    .disclosure-hero::after {
        content: "";
        position: absolute;
        width: 270px;
        height: 270px;
        right: 40px;
        bottom: -180px;
        border: 1px solid rgba(214,166,58,.25);
        border-radius: 50%;
    }

.disclosure-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,24,45,.25), transparent);
}

.disclosure-hero-content {
    position: relative;
    z-index: 2;
    padding: 65px 0;
    color: #fff;
}

.disclosure-hero-eyebrow {
    display: block;
    color: #E7BE59;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.disclosure-hero-content h1 {
    color: #fff;
    font-size: clamp(36px, 5vw, 60px);
    margin-bottom: 15px;
}

    .disclosure-hero-content h1 span {
        color: #E7BE59;
    }

.disclosure-hero-content p {
    max-width: 650px;
    font-size: 16px;
    color: #DFE8F3;
    margin: 0;
}

.disclosure-hero-line {
    height: 4px;
    width: 70px;
    background: #D6A63A;
    border-radius: 10px;
    margin-top: 26px;
}

/* ==========================================
   MAIN SECTION
========================================== */

.disclosure-main-section {
    padding: 75px 0;
}

.disclosure-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 40px;
}

.disclosure-section-label {
    display: block;
    color: #B88922;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.disclosure-heading-text h2 {
    font-size: clamp(30px, 4vw, 42px);
    color: #0B2545;
    margin-bottom: 12px;
}

    .disclosure-heading-text h2 span {
        color: #B88922;
    }

.disclosure-heading-text p {
    color: #68778B;
    max-width: 650px;
    margin-bottom: 0;
}

/* ==========================================
   DOCUMENT STAT
========================================== */

.disclosure-stat-card {
    flex-shrink: 0;
    min-width: 160px;
    background: #EAF2FB;
    border: 1px solid #DCE7F4;
    border-radius: 16px;
    padding: 20px 25px;
    text-align: center;
}

.disclosure-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #123B70;
    line-height: 1.2;
}

.disclosure-stat-label {
    color: #68778B;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
}

/* ==========================================
   SEARCH TOOLBAR
========================================== */

.disclosure-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #F5F8FC;
    border: 1px solid #E5ECF5;
    border-radius: 14px;
}

.disclosure-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 470px;
    padding: 0 15px;
    height: 48px;
    background: #fff;
    border: 1px solid #DCE5EF;
    border-radius: 9px;
    transition: .3s;
}

    .disclosure-search-box:focus-within {
        border-color: #123B70;
        box-shadow: 0 0 0 3px rgba(18,59,112,.08);
    }

.disclosure-search-icon {
    font-size: 25px;
    color: #B88922;
    transform: rotate(-15deg);
}

.disclosure-search-input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #243247;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
}

    .disclosure-search-input::placeholder {
        color: #97A4B5;
    }

.disclosure-clear-search {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #EAF2FB;
    color: #123B70;
    font-size: 21px;
    cursor: pointer;
}

    .disclosure-clear-search:hover {
        background: #D6A63A;
    }

.disclosure-toolbar-label {
    font-size: 12px;
    color: #68778B;
    font-weight: 700;
    white-space: nowrap;
}

/* ==========================================
   DOCUMENT GRID
========================================== */

.disclosure-document-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.disclosure-document-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #E5ECF5;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(11,37,69,.04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .disclosure-document-card:hover {
        transform: translateY(-5px);
        border-color: rgba(214,166,58,.65);
        box-shadow: 0 15px 35px rgba(11,37,69,.09);
    }

/* Document Card Top */

.disclosure-document-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.disclosure-pdf-icon {
    width: 55px;
    height: 62px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 9px;
    background: #FFF0F0;
    border: 1px solid #F1D5D5;
    border-radius: 9px;
    position: relative;
}

    .disclosure-pdf-icon::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        border-style: solid;
        border-width: 0 15px 15px 0;
        border-color: transparent #fff transparent transparent;
    }

    .disclosure-pdf-icon span {
        background: #C94343;
        color: #fff;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: 800;
    }

.disclosure-document-badge {
    color: #B88922;
    background: #FFF8E8;
    border: 1px solid #F0DFB1;
    padding: 6px 10px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
}

/* Document Info */

.disclosure-document-info {
    flex: 1;
}

.disclosure-document-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #123B70;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 16px;
    overflow-wrap: anywhere;
}

.disclosure-document-date {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8793A3;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 22px;
}

.disclosure-date-icon {
    font-size: 13px;
}

/* Buttons */

.disclosure-document-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #EDF1F6;
}

.disclosure-view-button {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    background: #123B70;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

    .disclosure-view-button:hover {
        background: #0B2545;
        color: #E7BE59;
    }

.disclosure-download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    flex-shrink: 0;
    border: 1px solid #DCE5EF;
    background: #EAF2FB;
    color: #123B70;
    border-radius: 8px;
    font-size: 21px;
    font-weight: 800;
}

    .disclosure-download-button:hover {
        background: #D6A63A;
        border-color: #D6A63A;
        color: #0B2545;
    }

/* ==========================================
   EMPTY STATES
========================================== */

.disclosure-empty-state,
.disclosure-search-empty {
    text-align: center;
    padding: 55px 20px;
    background: #F5F8FC;
    border: 1px dashed #CBD8E8;
    border-radius: 16px;
}

.disclosure-empty-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.disclosure-empty-state h3,
.disclosure-search-empty h3 {
    color: #123B70;
    margin-bottom: 10px;
}

.disclosure-empty-state p,
.disclosure-search-empty p {
    color: #68778B;
    margin-bottom: 0;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px) {

    .disclosure-document-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {

    .disclosure-hero {
        min-height: 260px;
    }

    .disclosure-hero-content {
        padding: 50px 0;
    }

        .disclosure-hero-content h1 {
            font-size: 38px;
        }

        .disclosure-hero-content p {
            font-size: 14px;
        }

    .disclosure-main-section {
        padding: 50px 0;
    }

    .disclosure-heading {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .disclosure-stat-card {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 12px;
    }

    .disclosure-stat-number {
        font-size: 27px;
    }

    .disclosure-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }

    .disclosure-search-box {
        max-width: none;
    }

    .disclosure-toolbar-label {
        text-align: center;
    }

    .disclosure-document-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .disclosure-document-card {
        padding: 20px;
    }
}
