/* Global styles */
body {
    font-family: "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    color: #333;
    margin: 0;
    padding: 40px;
}

/* Container */
.table-container {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: auto;
}

/* Header */
.table-container h1 {
    text-align: center;
    color: #2b2b2b;
    margin-bottom: 20px;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

/* Table header */
thead {
    background-color: #1e293b;
    color: #ffffff;
}

th, td {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}

tbody tr:hover {
    background-color: #f1f5f9;
}

/* Status badges */
.status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status.active {
    background-color: #d1fae5;
    color: #065f46;
}

.status.inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Responsive */
@media (max-width: 600px) {
    table thead {
        display: none;
    }

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

    tr {
        margin-bottom: 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #fff;
    }

    td {
        text-align: right;
        padding: 12px;
        position: relative;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 16px;
        text-align: left;
        font-weight: bold;
        color: #475569;
    }
}
/* Global styles */
body {
    font-family: "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    color: #333;
    margin: 0;
    padding: 40px;
}

/* Container */
.table-container {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: auto;
}

/* Header */
.table-container h1 {
    text-align: center;
    color: #2b2b2b;
    margin-bottom: 20px;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

/* Table header */
thead {
    background-color: #1e293b;
    color: #ffffff;
}

th, td {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}

tbody tr:hover {
    background-color: #f1f5f9;
}

/* Status badges */
.status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status.active {
    background-color: #d1fae5;
    color: #065f46;
}

.status.inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Responsive */
@media (max-width: 600px) {
    table thead {
        display: none;
    }

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

    tr {
        margin-bottom: 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #fff;
    }

    td {
        text-align: right;
        padding: 12px;
        position: relative;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 16px;
        text-align: left;
        font-weight: bold;
        color: #475569;
    }
}
