/* ============================================
   Content Tables Section
   ============================================ */

.tables-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    background-color: var(--white, #ffffff);
}

.tables-container {
    max-width: 960px;
    margin: 0 auto;
}

/* Title */
.tables-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--black, #202030);
    margin-bottom: 16px;
    text-align: left;
}

/* Description */
.tables-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-dark, #666666);
    margin-bottom: 40px;
    text-align: left;
}

/* Table Wrapper */
.tables-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: var(--radius-md, 8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Table Styles */
.content-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white, #ffffff);
}

/* Table Header - Dark Green Background */
.content-table thead tr {
    background-color: #62A498;
}

.content-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    color: var(--white, #ffffff);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #4f847a;
}

/* Table Body */
.content-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.content-table tbody tr:hover {
    background-color: #f9f9f9;
}

.content-table tbody tr:last-child {
    border-bottom: none;
}

.content-table tbody td {
    padding: 16px 20px;
    font-size: 16px;
    color: var(--black, #202030);
    vertical-align: top;
}

/* First Column - Light Green Background */
.content-table tbody td.col-1 {
    background-color: #E3EFED;
    font-weight: 600;
    color: #1e4028;
}

/* Hover effect for rows with light green first column */
.content-table tbody tr:hover td.col-1 {
    background-color: #d3e5e3;
}

/* Content Below Table */
.tables-content-below {
    margin-top: 40px;
    padding: 32px;
    background-color: var(--gray-lighter, #fafafa);
    border-radius: var(--radius-md, 8px);
    border-left: 4px solid #62A498;
}

.tables-content-below h2,
.tables-content-below h3,
.tables-content-below h4 {
    color: var(--black, #202030);
    margin-top: 24px;
    margin-bottom: 12px;
}

.tables-content-below h2:first-child,
.tables-content-below h3:first-child,
.tables-content-below h4:first-child {
    margin-top: 0;
}

.tables-content-below p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-dark, #666666);
    margin-bottom: 16px;
}

.tables-content-below p:last-child {
    margin-bottom: 0;
}

.tables-content-below ul,
.tables-content-below ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.tables-content-below li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-dark, #666666);
    margin-bottom: 8px;
}

.tables-content-below a {
    color: var(--red, #CE4A57);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.tables-content-below a:hover {
    color: var(--red-dark, #C23B3B);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    .tables-section {
        padding: 50px 20px;
    }
    
    .tables-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .tables-description {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .content-table thead th,
    .content-table tbody td {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .tables-content-below {
        padding: 24px;
        margin-top: 32px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .tables-section {
        padding: 40px 16px;
    }
    
    .tables-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .tables-description {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .tables-wrapper {
        border-radius: 0;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
    }
    
    .content-table {
        font-size: 14px;
    }
    
    .content-table thead th,
    .content-table tbody td {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .content-table thead th {
        font-size: 12px;
    }
    
    .tables-content-below {
        padding: 20px;
        margin-top: 24px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .tables-content-below p,
    .tables-content-below li {
        font-size: 14px;
    }
}

/* Very Small Mobile - Stack table if needed */
@media (max-width: 380px) {
    .content-table thead th,
    .content-table tbody td {
        padding: 8px 10px;
        font-size: 12px;
    }
}
