:root {
    --bs-primary: #4f46e5; /* Indigo 600 */
    --bs-primary-rgb: 79, 70, 229;
    --bs-body-bg: #f8fafc; /* Slate 50 */
    --bs-body-font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    background-color: var(--bs-body-bg);
    color: #1e293b; /* Slate 800 */
    font-family: var(--bs-body-font-family);
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.025em;
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
    color: #64748b !important;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--bs-primary) !important;
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.5rem 1.5rem 0.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.025em;
}

/* Inputs */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    transition: all 0.2s;
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.input-group-text {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1), 0 2px 4px -1px rgba(79, 70, 229, 0.06);
}

.btn-primary:hover {
    background-color: #4338ca; /* Indigo 700 */
    border-color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}

/* Table */
.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

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

/* Pagination */
.pagination .page-link {
    border: none;
    color: #64748b;
    border-radius: 0.5rem;
    margin: 0 0.125rem;
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background-color: var(--bs-primary);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

/* Utilities */
.text-muted {
    color: #94a3b8 !important;
}

.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    width: 100%;
    max-width: 420px;
}
