 /* Resources Page - Important Documents Styles */

/* ===== Container and Layout ===== */
.container-md {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background-color: transparent;
    margin-top: 20px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 400;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: inline-block;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 8px;
    color: #6b7280;
}

.breadcrumb-item.active {
    color: #2d3748;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== Page Header ===== */
.page-header {
    margin: 2rem 0;
}

.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.page-description {
    font-size: 1rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== Table Container ===== */
.table-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

/* ===== Documents Table ===== */
.documents-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.documents-table thead {
    background-color: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.documents-table thead th {
    padding: 1rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.documents-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.documents-table tbody tr:hover {
    background-color: #f9fafb;
}

.documents-table tbody tr:last-child {
    border-bottom: none;
}

.documents-table tbody td {
    padding: 1rem;
    font-size: 0.95rem;
    color: #374151;
    vertical-align: middle;
}

/* ===== Table Cells ===== */
.date-cell {
    width: 150px;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
}

.description-cell {
    color: #2d3748;
    line-height: 1.5;
}

.link-cell {
    width: 150px;
    text-align: center;
}

/* ===== View Link ===== */
.view-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.view-link:hover {
    color: #0056b3;
    background-color: #e7f3ff;
    text-decoration: none;
}

.view-link i {
    font-size: 0.75rem;
}

/* ===== Loading State ===== */
.loading-row td {
    padding: 3rem 1rem;
    text-align: center;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #6b7280;
}

.loading-spinner i {
    font-size: 2rem;
    color: #007bff;
}

.loading-spinner span {
    font-size: 1rem;
}

/* ===== No Data / Error Messages ===== */
.no-data,
.error-message {
    padding: 3rem 1rem !important;
    text-align: center !important;
    color: #6b7280 !important;
    font-style: italic;
}

.error-message {
    color: #dc2626 !important;
}

/* ===== Utility Classes ===== */
.bg-transparent {
    background-color: transparent !important;
}

.pl-0 {
    padding-left: 0 !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

.pb-4 {
    padding-bottom: 1.5rem !important;
}

.pt-2 {
    padding-top: 0.5rem !important;
}

.pr-2 {
    padding-right: 0.5rem !important;
}

.pl-2 {
    padding-left: 0.5rem !important;
}

.text-dark {
    color: #2d3748 !important;
}

.text-primary {
    color: #007bff !important;
}

.footer-text {
    font-size: 0.9rem;
}

/* ===== Notification Banner ===== */
.xl-notification {
    display: none;
}

.remindText {
    text-align: left;
}

/* ===== Responsive Design ===== */

/* Tablet */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 1.75rem;
    }

    .page-description {
        font-size: 0.95rem;
    }

    .documents-table {
        font-size: 0.9rem;
    }

    .documents-table thead th {
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    .documents-table tbody td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .date-cell {
        width: 120px;
    }

    .link-cell {
        width: 120px;
    }
}

/* Mobile */
@media screen and (max-width: 573px) {
    .xl-notification {
        display: block;
    }

    .page-header {
        margin: 1.5rem 0;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-description {
        font-size: 0.9rem;
    }

    .table-container {
        box-shadow: none;
        border-radius: 0;
        overflow-x: auto;
    }

    .documents-table {
        min-width: 600px;
    }

    .documents-table thead th {
        padding: 0.65rem;
        font-size: 0.75rem;
    }

    .documents-table tbody td {
        padding: 0.65rem;
        font-size: 0.85rem;
    }

    .date-cell {
        width: 100px;
        font-size: 0.8rem;
    }

    .description-cell {
        font-size: 0.85rem;
    }

    .link-cell {
        width: 100px;
    }

    .view-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .view-link i {
        font-size: 0.7rem;
    }

    .remindText {
        text-align: center;
        width: 100%;
    }

    .footer-text {
        font-size: 1rem;
    }
}

/* Extra Small Mobile */
@media screen and (max-width: 375px) {
    .page-title {
        font-size: 1.35rem;
    }

    .documents-table {
        min-width: 550px;
    }

    .documents-table thead th {
        padding: 0.5rem;
        font-size: 0.7rem;
    }

    .documents-table tbody td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

/* ===== Accessibility ===== */
.documents-table tbody tr:focus-within {
    outline: 2px solid #007bff;
    outline-offset: -2px;
}

.view-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* ===== Print Styles ===== */
@media print {
    .view-link {
        color: #000;
    }

    .documents-table tbody tr:hover {
        background-color: transparent;
    }

    .table-container {
        box-shadow: none;
    }
}