@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f7f6;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: #2c3e50;
}

/* Modern Card Styling */
@media (min-width: 992px) {
    .container-wide {
        max-width: 75% !important;
    }
}

.card-custom {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: none;
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-custom .card-header {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.card-custom .card-body {
    padding: 2rem;
}

/* Table Enhancements */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table-custom thead th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e9ecef;
    padding: 1rem;
}

.table-custom tbody tr {
    transition: background-color 0.2s ease-in-out;
}

.table-custom tbody tr:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.table-custom td {
    vertical-align: middle;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

/* Form Controls */
.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 0.6rem 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Buttons */
.btn-custom {
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 86, 179, 0.2);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

.btn-info:hover {
    background-color: #138496;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.2);
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

/* Navbar Enhancements */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: #ffffff !important;
    margin-bottom: 0.5rem;
}

.navbar-brand {
    font-weight: 700;
    color: #2c3e50 !important;
}

.nav-link {
    font-weight: 500;
}

/* SweetAlert customization */
.swal2-popup {
    border-radius: 12px !important;
}

/* Select2 customization */
.select2-container--bootstrap4 .select2-selection {
    border-radius: 8px !important;
}