:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1.mb-4 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem !important;
}

.btn-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: var(--white);
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

.table thead {
    background-color: #243447;
}

.table th {
    padding: 15px;
    font-weight: 600;
    background-color: #243447;
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.table td {
    padding: 15px;
    vertical-align: middle;
    color: #1f2933;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--border-color);
}

.table tbody tr:hover {
    background-color: #e8f1ff;
}

td .btn {
    margin-right: 8px;
    min-width: 60px;
}

td .btn:last-child {
    margin-right: 0;
}

td .btn-info {
    background-color: var(--info-color);
    color: var(--text-dark);
}

td .btn-warning {
    background-color: var(--warning-color);
    color: var(--text-dark);
}

td .btn-danger {
    background-color: var(--danger-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
        margin: 10px;
    }

    .btn-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    .table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    .table th,
    .table td {
        padding: 10px;
    }

    h1.mb-4 {
        font-size: 1.5rem;
        text-align: center;
    }
}

.table-loading {
    position: relative;
    min-height: 200px;
}

.table-loading::after {
    content: "Loading...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
}

.table-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-style: italic;
}
