.document-container {
    padding: 4rem 1.5rem;
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    line-height: 1.6;
}

.document-container h1,
.document-container h2 {
    color: var(--dark-blue);
}

.document-container ul {
    list-style: disc;
    padding-left: 2rem;
}

.document-container ol {
    padding-left: 2rem;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1.5rem;
}

thead {
    background-color: var(--primary-color-light);
    color: var(--text-light);
}

thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
    vertical-align: top;
}

/* Link Styling */
a {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-word;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-color-light);
}

.closing-note {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(145deg, #f9fafc, #eef2f7);
    border-left: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);
    border-radius: 8px;
    font-style: italic;
    color: var(--dark-blue);
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead {
        display: none;
    }

    tbody tr {
        margin-bottom: 2rem;
        border: 1px solid var(--light-gray);
        padding: 1rem;
        border-radius: 8px;
    }

    tbody tr td:first-child {
        font-weight: 600;
    }

    tbody td {
        padding: 0.5rem 0;
        display: flex;
        justify-content: space-between;
        font-size: 1.4rem;
    }

    .closing-note {
        padding: 1.2rem 1rem;
        border-left: 2px solid var(--primary-color);
        border-right: 2px solid var(--primary-color);
    }
}
