:root {
    --sdg-green: #198754;
    --sdg-green-dark: #116b43;
    --sdg-green-light: #eaf7f0;
    --sdg-green-soft: #f4fbf7;

    --text-dark: #1f2937;
    --text-muted: #6b7280;

    --border: #e5e7eb;
    --white: #ffffff;

    --shadow:
        0 10px 30px rgba(0, 0, 0, 0.06);
}


/* =========================
   GLOBAL
========================= */

body {
    background: #f7faf8;
    color: var(--text-dark);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1200px;
}


/* =========================
   NAVBAR
========================= */

.navbar-sdg {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    min-height: 74px;

    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(12px);
}

.navbar-brand {
    color: var(--text-dark);
    font-size: 21px;
    font-weight: 500;

    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand:hover {
    color: var(--sdg-green);
}

.navbar-brand strong {
    color: var(--sdg-green);
}

.brand-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--sdg-green);
    color: white;

    font-size: 18px;

    box-shadow:
        0 5px 15px rgba(25, 135, 84, 0.25);
}

.nav-link {
    color: #4b5563 !important;

    font-size: 14px;
    font-weight: 500;

    padding: 10px 15px !important;

    border-radius: 9px;

    transition: all .2s ease;
}

.nav-link i {
    margin-right: 5px;
}

.nav-link:hover {
    color: var(--sdg-green) !important;
    background: var(--sdg-green-light);
}

.nav-link.active {
    color: var(--sdg-green) !important;
    background: var(--sdg-green-light);
}


/* =========================
   PAGE HEADER
========================= */

.page-header {
    padding: 55px 0 40px;

    background:
        linear-gradient(
            135deg,
            #f3fbf7 0%,
            #ffffff 60%,
            #edf8f2 100%
        );

    border-bottom: 1px solid #edf0ee;
}

.page-header h1 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.page-header p {
    color: var(--text-muted);
    margin-bottom: 0;
}


/* =========================
   STAT CARD
========================= */

.stat-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 24px;

    height: 100%;

    box-shadow: var(--shadow);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.09);
}

.stat-icon {
    width: 48px;
    height: 48px;

    border-radius: 13px;

    background: var(--sdg-green-light);
    color: var(--sdg-green);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;

    margin-bottom: 18px;
}

.stat-label {
    color: var(--text-muted);

    font-size: 13px;
    font-weight: 500;

    margin-bottom: 5px;
}

.stat-value {
    font-size: 30px;
    font-weight: 700;

    line-height: 1.1;
}

.stat-description {
    font-size: 12px;
    color: var(--text-muted);

    margin-top: 8px;
}


/* =========================
   SECTION
========================= */

.section {
    padding: 45px 0;
}

.section-title {
    font-size: 20px;
    font-weight: 700;

    margin-bottom: 5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}


/* =========================
   CONTENT CARD
========================= */

.content-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    box-shadow: var(--shadow);

    overflow: hidden;
}

.card-header-sdg {
    background: white;

    padding: 20px 22px;

    border-bottom: 1px solid var(--border);

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header-sdg h5 {
    margin: 0;

    font-size: 16px;
    font-weight: 700;
}


/* =========================
   TABLE
========================= */

.table-sdg {
    margin-bottom: 0;
}

.table-sdg thead th {
    background: #f8faf9;

    color: #59636d;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .4px;

    border-bottom: 1px solid var(--border);

    padding: 14px 18px;
}

.table-sdg tbody td {
    padding: 15px 18px;

    vertical-align: middle;

    border-color: #eef1ef;

    font-size: 14px;
}

.table-sdg tbody tr {
    transition: background .15s ease;
}

.table-sdg tbody tr:hover {
    background: #f8fcfa;
}


/* =========================
   BADGE
========================= */

.badge-sdg {
    background: var(--sdg-green-light);

    color: var(--sdg-green-dark);

    font-weight: 600;

    border-radius: 7px;

    padding: 6px 10px;

    font-size: 11px;
}


/* =========================
   SDG NUMBER
========================= */

.sdg-number {
    width: 38px;
    height: 38px;

    border-radius: 10px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    background: var(--sdg-green-light);

    color: var(--sdg-green);

    font-weight: 700;

    font-size: 13px;
}


/* =========================
   REPORT CARD
========================= */

.report-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 23px;

    height: 100%;

    box-shadow: var(--shadow);

    transition: all .2s ease;
}

.report-card:hover {
    transform: translateY(-3px);

    border-color: #cfe9da;
}

.report-title {
    font-size: 17px;
    font-weight: 700;

    color: #1f2937;

    margin: 12px 0 10px;
}

.report-description {
    color: var(--text-muted);

    font-size: 13px;

    line-height: 1.7;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.report-meta {
    margin-top: 18px;

    padding-top: 15px;

    border-top: 1px solid #edf0ee;

    font-size: 12px;

    color: var(--text-muted);
}


/* =========================
   FILTER
========================= */

.filter-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 20px;

    box-shadow: var(--shadow);

    margin-bottom: 25px;
}

.form-control,
.form-select {
    border-color: #dfe5e1;

    border-radius: 9px;

    min-height: 42px;

    font-size: 13px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--sdg-green);

    box-shadow:
        0 0 0 .2rem rgba(25, 135, 84, .12);
}

.btn-sdg {
    background: var(--sdg-green);

    border-color: var(--sdg-green);

    color: white;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 600;

    padding: 10px 18px;
}

.btn-sdg:hover {
    background: var(--sdg-green-dark);
    border-color: var(--sdg-green-dark);

    color: white;
}

.btn-outline-sdg {
    border: 1px solid var(--sdg-green);

    color: var(--sdg-green);

    border-radius: 9px;

    font-size: 13px;
    font-weight: 600;
}

.btn-outline-sdg:hover {
    background: var(--sdg-green);
    color: white;
}


/* =========================
   FACULTY
========================= */

.faculty-icon {
    width: 45px;
    height: 45px;

    border-radius: 12px;

    background: var(--sdg-green-light);

    color: var(--sdg-green);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 19px;
}

.faculty-name {
    font-weight: 600;
}

.faculty-code {
    color: var(--text-muted);
    font-size: 12px;
}


/* =========================
   PROGRESS
========================= */

.progress-sdg {
    height: 7px;

    border-radius: 20px;

    background: #edf2ef;
}

.progress-sdg .progress-bar {
    background: var(--sdg-green);

    border-radius: 20px;
}


/* =========================
   FOOTER
========================= */

.footer-sdg {
    margin-top: 60px;

    padding: 28px 0;

    background: white;

    border-top: 1px solid var(--border);
}


/* =========================
   EMPTY
========================= */

.empty-state {
    padding: 60px 20px;

    text-align: center;

    color: var(--text-muted);
}

.empty-state i {
    font-size: 40px;

    color: #b8cfc2;

    display: block;

    margin-bottom: 15px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {

    .navbar-nav {
        padding-top: 15px;
    }

    .nav-link {
        margin-bottom: 4px;
    }

}

@media (max-width: 767px) {

    .page-header {
        padding: 35px 0 30px;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .stat-value {
        font-size: 25px;
    }

    .section {
        padding: 30px 0;
    }

}