/* ===============================
   Tables
   =============================== */
.admin-table,
table {
    width: 100%;
    border-collapse: collapse;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

body.dark-mode .admin-table,
table {
    background: rgba(128, 128, 128, 0.4);
}

.admin-table th,
.admin-table td,
th,
td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.admin-table th,
th {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

tr:hover {
    background-color: #fafafa;
}






/* stacked table for mobile */
@media (max-width: 768px) {
    .responsive-table table {
        border: 0;
    }

    .responsive-table table thead {
        display: none;
    }

    .responsive-table table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #eee;
        border-radius: 6px;
        padding: 0.5rem;
    }

    .responsive-table table td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .responsive-table table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        font-weight: bold;
        text-align: left;
    }
}



