:root {
    --blue: #009afa;
    --dark-blue: #082f49;
    --light-blue: #e0f2fe;
    --hover-blue: #0284c7;
    --border-color: #cbd5e1;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
}

.cfdb7-tabs {
    display: flex;
    gap: 8px;
    font-size: 1.8rem;
    margin-bottom: 24px;
    cursor: pointer;
    flex-wrap: wrap;
    padding: 0;
    justify-content: center;
}

.cfdb7-tabs li {
    padding: 10px 20px;
    background: var(--white);
    border-radius: 8px;
    border: 2px solid var(--border-color);
    list-style: none;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-weight: 500;
}

.cfdb7-tabs li:hover {
    border-color: #136f63;
    color: #136f63;
}

.cfdb7-tabs li.active {
    background: #136f63;
    border-color: #136f63;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 154, 250, 0.1);
}

.cfdb7-tab-content {
    display: none;
    margin-bottom: 40px;
}

.cfdb7-tab-content.active {
    display: block;
}

table.cfdb7-table {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 1.6rem;
    word-break: break-all;
    background: var(--white);
    overflow: hidden;
    justify-content: center;
}

table.cfdb7-table th,
table.cfdb7-table td {
    width: 300px;
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    color: var(--text-dark);
}

table.cfdb7-table th {
    background: #136f63;
    color: var(--white);
    font-weight: 600;
    font-size: 1.8m;
    border-color: white;
}

table.cfdb7-table tbody tr {
    transition: background 0.2s ease;
}

table.cfdb7-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

table.cfdb7-table tbody tr:hover {
    background: var(--light-blue);
}

.cfdb7-pagination {
    display: flex;
    gap: 6px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cfdb7-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 6px 12px;
    margin: 0;
    background: var(--white);
    color: var(--dark-blue);
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.cfdb7-pagination a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 154, 250, 0.3);
}

.cfdb7-pagination a.active {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

@media (max-width: 1024px) {
    .cfdb7-tab-content {
        overflow-x: auto;
    }

    table.cfdb7-table {
        width: 100%;
        min-width: 600px;
        display: block;
        border-radius: 8px;
    }

    table.cfdb7-table thead {
        display: table-header-group;
    }
}
