.tab-container {
    line-height: 1.6;
    margin: 40px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
}

.tab-buttons {
    display: flex;
    background-color: #f1f3f5;
    padding: 10px;
}

.tab-button {
    padding: 12px 24px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #6c757d;
    position: relative;
    overflow: hidden;
    font-size: 16px;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff9900;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button:hover {
    color: #ff9900;
}

.tab-button.active {
    color: #ff9900;
}

.tab-button.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
    padding: 30px;
    animation: fadeEffect 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

#wrapper {
    width: 95%;
}

/* Styling for table section header */
.table-section-header {
    background-color: #1859EA;
    color: white;
    padding: 20px;
    font-size: 26px;
    margin-top: 15px;
}

/* Table layout */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
}

/* Header style for table */
th {
    background-color: #1859EA;
    color: white;
    font-size: 18px;
    border-bottom: 2px solid #ddd;
}

/* Links styling */
a {
    text-decoration: none;
    color: #0066cc;
}

a:hover {
    text-decoration: underline;
}

/* Center alignment for specific columns */
td.align-center {
    text-align: center;
}

/* Mobile only */
@media (max-width: 768px) {
    .tab-container {
        width: 100%;
        margin: 16px auto;
        border-radius: 0;
        box-shadow: none;
    }

    #wrapper {
        width: 100%;
    }

    .tab-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px;
    }

    .tab-button {
        flex: 1 1 calc(50% - 8px);
        min-width: 140px;
        padding: 12px 14px;
        font-size: 14px;
        text-align: center;
        border-radius: 6px;
        background: #fff;
    }

    .tab-button::after {
        left: 10%;
        width: 80%;
    }

    .tab-content {
        padding: 16px;
    }

    .table-section-header {
        padding: 14px 16px;
        font-size: 20px;
        line-height: 1.3;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
        width: 100%;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 14px;
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        overflow: hidden;
    }

    td {
        display: block;
        text-align: left;
        padding: 12px 14px 12px 14px;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 14px;
    }

    td:last-child {
        border-bottom: none;
    }

    td::before {
        content: attr(data-label);
        display: block;
        position: static;
        margin-bottom: 6px;
        font-weight: 700;
        color: #1859EA;
        white-space: normal;
    }

    td.align-center {
        text-align: left;
    }

    a {
        word-break: break-word;
    }
}