﻿
.forms-and-docs .documents-section {
    padding:0px;
    margin:0px;
}
.forms-and-docs .sub-header-hero {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
}

    .forms-and-docs .sub-header-hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgba(255,255,255,1) 30%, rgba(255,255,255,0.4) 100%);
        pointer-events: none;
    }

    .forms-and-docs .sub-header-hero .container {
        position: relative;
        z-index: 2;
    }

    .forms-and-docs .sub-header-hero .header-cols {
        align-items: center;
    }

    .forms-and-docs .sub-header-hero h1 {
        font-size: clamp(2rem, 5vw, 4rem);
        color: var(--bs-primary);
        font-weight: 800;
        padding: 2rem 0;
    }

    .forms-and-docs .sub-header-hero .hero-image img {
        max-width: 80%;
        height: auto;
    }

@media (max-width: 991.98px) {
    .forms-and-docs .sub-header-hero .header-cols {
        flex-direction: column;
        text-align: center;
    }

    .forms-and-docs .sub-header-hero h1 {
        padding: 1rem 0;
    }
}

/* =====================================================
   DOCUMENTS SECTION
   ===================================================== */
.forms-and-docs .documents-section {
    background-color: #f8f9fa;
    min-height: 60vh;
}

/* =====================================================
   LEFT SIDEBAR
   ===================================================== */
.forms-and-docs .left-sidebar .sidebar-nav-container,
.forms-and-docs .left-sidebar .coverage-sidebar {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

    .forms-and-docs .left-sidebar .sidebar-nav-container .p-3.border-bottom {
        border-bottom-color: rgba(0, 0, 0, 0.06) !important;
    }

/* Search Box */
.forms-and-docs .left-sidebar .search-box {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

    .forms-and-docs .left-sidebar .search-box .form-control {
        border: 1px solid #e9ecef;
        border-radius: 0.375rem;
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
        background-color: #f8f9fa;
    }

        .forms-and-docs .left-sidebar .search-box .form-control:focus {
            background-color: #fff;
            border-color: var(--bs-primary);
            box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.1);
        }

/* Sidebar Links */
.forms-and-docs .left-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    color: rgba(33, 37, 41, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

    .forms-and-docs .left-sidebar .sidebar-link i {
        margin-right: 0.875rem;
        color: var(--bs-primary);
        opacity: 0.7;
    }

    .forms-and-docs .left-sidebar .sidebar-link:hover {
        background-color: rgba(var(--bs-primary-rgb), 0.04);
        color: #212529;
        border-left-color: rgba(var(--bs-primary-rgb), 0.3);
    }

        .forms-and-docs .left-sidebar .sidebar-link:hover i {
            opacity: 1;
        }

    .forms-and-docs .left-sidebar .sidebar-link.active {
        background-color: rgba(var(--bs-primary-rgb), 0.08);
        color: var(--bs-primary);
        border-left-color: var(--bs-primary);
        font-weight: 500;
    }

        .forms-and-docs .left-sidebar .sidebar-link.active i {
            opacity: 1;
        }

/* Desktop Sticky Sidebar */
@media (min-width: 992px) {
    .forms-and-docs .left-sidebar {
        position: sticky;
        top: 20px;
        height: fit-content;
    }
}

/* Mobile Sidebar */
@media (max-width: 991.98px) {
    .forms-and-docs .left-sidebar {
        margin-bottom: 1.5rem;
    }
}

/* =====================================================
   DOCUMENTS CONTENT
   ===================================================== */
.forms-and-docs .documents-content .content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
}

.forms-and-docs .documents-content .content-subtitle {
    font-size: 0.875rem;
}

/* Document Category Card */
.forms-and-docs .document-category {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

    .forms-and-docs .document-category .category-header {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #e9ecef;
    }

    .forms-and-docs .document-category .category-icon {
        width: 8px;
        min-width: 8px;
        height: 40px;
        border-radius: 0.25rem;
    }

    .forms-and-docs .document-category .category-title {
        font-size: 1.125rem;
        font-weight: 600;
        color: #212529;
        margin-bottom: 0.25rem;
    }

    .forms-and-docs .document-category .category-description {
        font-size: 0.875rem;
        color: rgba(33, 37, 41, 0.6);
        margin: 0;
    }

/* Document Item */
.forms-and-docs .document-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f8f9fa;
}

    .forms-and-docs .document-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .forms-and-docs .document-item:first-of-type {
        padding-top: 0;
    }

    .forms-and-docs .document-item .document-title {
        font-size: 1rem;
        font-weight: 600;
        color: #212529;
        margin-bottom: 0.375rem;
    }

    .forms-and-docs .document-item .document-description {
        font-size: 0.875rem;
        color: rgba(33, 37, 41, 0.65);
        margin: 0;
        line-height: 1.5;
    }

/* =====================================================
   CTA BUTTON
   ===================================================== */
.forms-and-docs .btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--bs-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .forms-and-docs .btn-cta:hover {
        background-color: rgba(var(--bs-primary-rgb), 0.85);
        color: #fff;
    }

/* =====================================================
   TAB CONTENT
   ===================================================== */
.forms-and-docs .tab-content {
    width: 100%;
}

.forms-and-docs .tab-pane {
    display: none;
}

    .forms-and-docs .tab-pane.active.show {
        display: block;
    }

/* =====================================================
   UTILITIES
   ===================================================== */
.forms-and-docs .bold {
    font-weight: 700;
}

/* Content Header */
.forms-and-docs .content-header {
    margin-bottom: 1.5rem;
}

/* Coverage Sidebar Help Box */
.forms-and-docs .coverage-sidebar .bg-light {
    background-color: #f8f9fa !important;
}

.forms-and-docs .coverage-sidebar h5 {
    font-weight: 600;
    color: #212529;
}

.forms-and-docs .coverage-sidebar p {
    font-size: 0.875rem;
    color: rgba(33, 37, 41, 0.7);
}
