:root {
    --primary-color: #1A237E;
    --secondary-color: #00BCD4;
    --accent-color: #FFC107;
    --bg-color: #F5F7FA;
    --text-color: #37474F;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* Global Reductions */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    min-height: 100vh;
    font-size: 0.85rem;
    /* Reduced font size */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.5rem;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
    border-radius: 12px;
    /* Slightly smaller radius */
    padding: 1rem !important;
    /* Reduced padding */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-2px);
    /* Subtle hover */
    box-shadow: var(--shadow-hover);
}

/* Custom Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 6px 16px;
    /* Reduced padding */
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #121959;
    border-color: #121959;
    transform: scale(1.02);
}

.btn-sm {
    padding: 4px 10px;
    font-size: 0.75rem;
}

/* Form Controls */
.form-control,
.form-select {
    border-radius: 8px;
    padding: 6px 10px;
    /* Reduced padding */
    font-size: 0.85rem;
    border: 1px solid #e0e0e0;
    background-color: rgba(255, 255, 255, 0.9);
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
    border-color: var(--primary-color);
}

/* Table Compactness */
.table th,
.table td {
    padding: 0.5rem 0.5rem !important;
    /* Reduced table padding */
    font-size: 0.85rem;
    vertical-align: middle;
}

/* DataTables Custom Layout */
.dataTables_wrapper .row:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Align content: Length (left) <-> Filter (right) */
    margin-bottom: 10px;
}

.dataTables_length {
    margin-right: 15px;
    /* Spacing between Show entries and Search */
}

.dataTables_filter {
    text-align: left !important;
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 20px;
    padding: 4px 12px;
    border: 1px solid #ddd;
    margin-left: 5px;
    width: 200px;
    /* Specific width */
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 20px;
    padding: 4px 24px 4px 12px;
    border: 1px solid #ddd;
}