.studies{
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem;
    background-color: rgba(99, 65, 122, 0.142);
    border-radius: 12px;
}


.table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 1rem;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    border-radius: 10px;
    overflow: hidden;
}

.modern-table thead {
    background: rgba(99, 65, 122, 0.35);
}

.modern-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.modern-table td {
    padding: 0.75rem 1rem;
    color: rgba(255,255,255,0.9);
}

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

.modern-table tbody tr:hover {
    background: rgba(99, 65, 122, 0.25);
}

.modern-table tbody tr:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.accordion {
    width: 100%;
}

.accordion summary {
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(99, 65, 122, 0.25);
    list-style: none;
    transition: background 0.2s ease;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary:hover {
    background: rgba(99, 65, 122, 0.4);
}

.accordion summary::after {
    content: "▸";
    float: right;
    transition: transform 0.2s ease;
}

.accordion[open] summary::after {
    transform: rotate(90deg);
}

.accordion .table-container {
    margin-top: 1rem;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .modern-table thead {
        display: none;
    }

    .modern-table,
    .modern-table tbody,
    .modern-table tr,
    .modern-table td {
        display: block;
        width: 100%;
    }

    .modern-table tr {
        margin-bottom: 1rem;
        background: rgba(255,255,255,0.03);
        border-radius: 8px;
        padding: 0.5rem;
    }

    .modern-table td {
        padding: 0.5rem;
        position: relative;
    }

    .modern-table td::before {
        content: attr(data-label);
        font-weight: 600;
        display: block;
        color: rgba(255,255,255,0.6);
        margin-bottom: 0.2rem;
    }
}

