@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* --- Body & Base --- */
body { 
    background: #0a0a14; 
    color: #e0e0ff !important; 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 
}
* { color: #e0e0ff !important; }

.navbar {
    background: #1a1a2e;
    border-bottom: 2px solid #4cc9f0;
}
.navbar-brand {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #4cc9f0 !important;
}
.btn-outline-light {
    border: 1px solid #4cc9f0;
    color: #4cc9f0;
    font-weight: 600;
}
.btn-outline-light:hover {
    background: #4cc9f0;
    color: #0a0a14 !important;
    box-shadow: 0 0 10px #4cc9f0;
}

.card {
    background: #1a1a2e;
    border: 2px solid #4361ee;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(67, 97, 238, 0.3);
}
.card:hover {
    box-shadow: 0 0 25px rgba(76, 201, 240, 0.5);
}

input, select, textarea, .form-select, .bootstrap-select .dropdown-toggle {
    background-color: #1a1a2e !important;
    color: #e0e0ff !important;
    border: 1px solid #4361ee !important;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
}
select:focus, input:focus {
    box-shadow: 0 0 10px #4361ee;
}

.btn-primary {
    background-color: #4cc9f0;
    color: #0a0a14 !important;
    border: none;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #72efdd;
    box-shadow: 0 0 15px #4cc9f0;
}

.back-link {
    background-color: #16213e;
    border: 1px solid #4361ee;
    color: #4cc9f0 !important;
    padding: 6px 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}
.back-link:hover {
    background: #1a1a2e;
    box-shadow: 0 0 10px #4361ee;
}

.alert-info {
    background: #16213e;
    border: 1px solid #4361ee;
    color: #4cc9f0 !important;
}

footer {
    color: #4cc9f0;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    margin-top: 40px;
    text-align: center;
}

.add-row, .remove-row {
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

/* Bootstrap Select Customization for Dark Theme */
.bootstrap-select .dropdown-toggle {
    background-color: #1a1a2e !important;
    color: #e0e0ff !important;
    border: 1px solid #4361ee !important;
    border-radius: 6px !important;
}

.bootstrap-select .dropdown-toggle:focus {
    box-shadow: 0 0 10px #4361ee !important;
    outline: none !important;
}

/* Dropdown menu */
.bootstrap-select .dropdown-menu {
    background-color: #1a1a2e !important;
    border: 1px solid #4361ee !important;
    box-shadow: 0 0 15px rgba(67, 97, 238, 0.3) !important;
}

/* Dropdown items */
.bootstrap-select .dropdown-menu li a {
    background-color: #1a1a2e !important;
    color: #e0e0ff !important;
    font-family: 'Inter', sans-serif !important;
}

.bootstrap-select .dropdown-menu li a:hover,
.bootstrap-select .dropdown-menu li a:focus {
    background-color: #16213e !important;
    color: #4cc9f0 !important;
}

/* Selected item in dropdown */
.bootstrap-select .dropdown-menu li.selected a {
    background-color: #16213e !important;
    color: #4cc9f0 !important;
}

/* Search box */
.bootstrap-select .bs-searchbox input {
    background-color: #1a1a2e !important;
    color: #e0e0ff !important;
    border: 1px solid #4361ee !important;
    border-radius: 4px !important;
}

.bootstrap-select .bs-searchbox input:focus {
    box-shadow: 0 0 8px #4361ee !important;
    border-color: #4361ee !important;
}

/* No results text */
.bootstrap-select .no-results {
    background-color: #1a1a2e !important;
    color: #e0e0ff !important;
}

/* Dropdown toggle arrow */
.bootstrap-select .dropdown-toggle .filter-option {
    color: #e0e0ff !important;
    font-family: 'Inter', sans-serif !important;
}

.bootstrap-select .dropdown-toggle::after {
    color: #4361ee !important;
}

/* Make sure the select text is visible */
.bootstrap-select .filter-option-inner-inner {
    color: #e0e0ff !important;
}

/* For the selected options in the dropdown */
.bootstrap-select .dropdown-item.active, 
.bootstrap-select .dropdown-item:active {
    background-color: #16213e !important;
    color: #4cc9f0 !important;
}