﻿@font-face {
    font-family: 'Moderat-Bold';
    src: url('/Fonts/Moderat-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Moderat-Regular';
    src: url('/Fonts/Moderat-Regular.ttf') format('truetype');
}

body {
    background: #f4f6f8;
    font-family: 'Moderat-Regular';
}

.main-wrapper {
    padding-bottom: 40px;
}

.top-navbar {
    background: white;
    border-radius: 18px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #163c57;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Moderat-Bold';
}

.brand-name {
    font-size: 28px;
    font-family: 'Moderat-Bold';
    color: #163c57;
}

.top-search-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-search {
    width: 280px;
    border-radius: 12px;
    border: 1px solid #dce2e8;
    height: 46px;
}

.btn-view-all {
    background: #2d8b72;
    color: white;
    border-radius: 12px;
    padding: 10px 18px;
    border: none;
}
.hero-banner-modern {
    position: relative;
    height: 230px;
    border-radius: 24px;
    overflow: hidden;
    background-image: url('/Icons/DefaultBannerImage.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: end;
}

    /* Dark overlay */
    .hero-banner-modern::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(7, 24, 39, 0.55); /* opacity */
        z-index: 1;
    }

.hero-overlay {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: white;
}

    .hero-overlay h1 {
        font-size: 32px;
        font-family: 'Moderat-Bold';
        margin-bottom: 10px;
    }

    .hero-overlay p {
        max-width: 600px;
        font-size: 18px;
        line-height: 1.6;
    }

.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.sidebar-title {
    font-size: 22px;
    font-family: 'Moderat-Bold';
    margin-bottom: 24px;
    color: #0B517A;
}

.filter-group {
    margin-bottom: 20px;
}

    .filter-group label {
        display: block;
        font-size: 13px;
        margin-bottom: 8px;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.modern-input,
.modern-select {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d9e0e7;
    box-shadow: none !important;
}

.filter-btn-group {
    display: flex;
    gap: 10px;
}

.btn-apply {
    background: #4391CE;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
}

.btn-clear {
    background: #eef2f7;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
}

.support-card p {
    color: #6b7280;
    line-height: 1.7;
}

.support-card a {
    color: #297F6F;
    text-decoration: none;
    font-family: 'Moderat-Bold';
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-tag {
    font-size: 12px;
    letter-spacing: 2px;
    color: #98a2b3;
    margin-bottom: 4px;
}

.section-title {
    font-size: 25px;
    font-family: 'Moderat-Bold';
    color: #0B517A;
}

.view-switch {
    background: white;
    padding: 6px;
    border-radius: 14px;
}

.active-view-btn {
    background: #0B517A;
    color: white;
    border-radius: 10px;
}

.inactive-view-btn {
    background: transparent;
    color: #0B517A;
}

.folder-badge {
    background: #eef4ff;
    color: #4b8df8;
}

.file-badge {
    background: #fff4e5;
    color: #d97706;
}

.featured-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .featured-section .card-Wrapper {
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 6px;
        align-content: flex-start;
    }

.NonFeaturedcard-Wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.NonFeatured-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
}

.resource-featured-card {
    background: linear-gradient(320deg, #eef9f7 0%, #fff5ea 130% 120%);
    border-radius: 18px;
    padding: 22px;
    border: 1px solid #e7edf3;
    min-height: auto;
    transition: 0.2s ease;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: none;
    height: 100px;
    width: 280px;
}

    .resource-featured-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    }

.resource-card {
    background: white;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid #e7edf3;
    min-height: auto;
    transition: 0.2s ease;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: none;
    height: 100px;
    width: 48%;
}

    .resource-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    }

/* Left Icon Box */
.resource-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: #eef3f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .resource-icon-box img {
        width: 24px;
        height: 24px;
    }

/* Right Content */
.resource-content {
    flex: 1;
    min-width: 0;
}

.resource-title {
    margin-bottom: 8px;

}

    .resource-title a {
        font-size: 18px;
        line-height: 1.3;
        color: #0B517A;
        text-decoration: none;
        font-family: 'Moderat-Bold';
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.resource-description {
    color: #667085;
    line-height: 1.5;
    margin-bottom: 14px;
    font-size: 15px;
}

.resource-footer {
    color: #98a2b3;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.resource-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-icon {
    cursor: pointer;
    color: #4391CE;
}

.table-wrapper {
    background: white;
    border-radius: 20px;
    padding: 20px;
}

.modern-table thead th {
    border-bottom: 1px solid #edf2f7;
    color: #0B517A;
    font-size: 16px;
    font-family: 'Moderat-Bold';
}

.modern-table tbody td {
    padding: 18px 10px;
    border-bottom: 1px solid #f2f4f7;
}

.table-doc-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .table-doc-cell a {
        text-decoration: none;
        color: #17324d;
        font-family: 'Moderat-Bold';
    }

.empty-state {
    background: white;
    border-radius: 20px;
    padding: 80px;
    text-align: center;
    color: #98a2b3;
    font-size: 18px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Moderat-Regular';
}

.nav-link {
    color: #0b517a !important;
    font-family: 'Moderat-Bold';
    text-decoration: none;
    transition: 0.2s ease;
    padding: 0px;
}

    /* Hover effect */
    .nav-link:hover {
        color: #0b517a !important;
        text-decoration: underline;
    }

    /* Active link */
    .nav-link.active-nav {
        color: #0b517a !important;
        text-decoration: underline;
    }

.card-icon {
    font-size: 25px;
}

.card-icon-tbl {
    font-size: 23px;
}

.card-title-tbl {
    cursor: pointer;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 1;
    font-size: 15px;
    height: 25px;
    font-family: 'Moderat-Regular';
    word-break: break-all;
    margin-top: 5px;
    width: 450px;
}

    .card-title-tbl a {
        color: #0b517a;
        text-decoration: none;
    }

        .card-title-tbl a:hover {
            color: #0b517a;
            text-decoration: underline;
        }

.tblTitle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 15px;
}

.breadcrumb-item-custom a {
    text-decoration: none;
    color: #4391CE;
    font-family: 'Moderat-Bold';
}

    .breadcrumb-item-custom a:hover {
        text-decoration: none;
    }

.active-breadcrumb {
    color: #0B517A;
    font-family: 'Moderat-Bold';
}

.breadcrumb-separator {
    color: #4391CE;
    margin-left: 4px;
}


.page-loader {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(3px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-content {
    text-align: center;
}

.loader-text {
    color: white;
    font-size: 18px;
    font-family: 'Moderat-Bold';
    letter-spacing: 0.5px;
}


@media(max-width:991px) {
    .top-navbar {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }

    .top-search-section {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .top-search {
        width: 100%;
    }

    .hero-overlay h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .content-header {
        flex-direction: column;
        align-items: start;
        gap: 15px;
        margin: 0;
    }
}
