/* assets/css/style.css */
/* Additional styles can go here */

.map-marker-label {
    background: white;
    border: 1px solid #333;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 10px;
    white-space: nowrap;
}

/* =========================================
   SweetAlert2 Dark/Premium Theme Overrides
   ========================================= */
body .swal2-popup {
    background-color: #1e293b !important; /* Slate 800 */
    color: #f1f5f9 !important; /* Slate 100 */
    border: 1px solid #334155;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

body .swal2-title {
    color: #fff !important;
    font-size: 1.6em !important;
    font-weight: 600 !important;
}

body .swal2-html-container {
    color: #cbd5e1 !important; /* Slate 300 */
}

body .swal2-close {
    color: #cbd5e1 !important;
}

body .swal2-close:hover {
    color: #fff !important;
}

/* Form Inputs inside SweetAlert */
body .swal2-popup .swal-label,
body .swal2-popup label {
    color: #94a3b8 !important; /* Slate 400 */
    font-weight: 500 !important;
}

body .swal2-popup .custom-input,
body .swal2-popup .custom-select,
body .swal2-popup input:not([type="checkbox"]):not([type="radio"]),
body .swal2-popup select {
    background-color: #0f172a !important; /* Slate 900 */
    border: 1px solid #334155 !important; /* Slate 700 */
    color: #f8fafc !important; /* Slate 50 */
    border-radius: 10px !important;
    box-shadow: none !important;
}

body .swal2-popup .custom-input:focus,
body .swal2-popup .custom-select:focus,
body .swal2-popup input:not([type="checkbox"]):not([type="radio"]):focus,
body .swal2-popup select:focus {
    border-color: #3b82f6 !important; /* Blue 500 */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

/* Select2 Dark Mode Fixes within SweetAlert */
body .swal2-popup .select2-container .select2-selection--single {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    height: 48px !important;
    border-radius: 10px !important;
}

body .swal2-popup .select2-container .select2-selection--single .select2-selection__rendered {
    color: #f8fafc !important;
    line-height: 46px !important;
}

body .swal2-popup .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #94a3b8 transparent transparent transparent !important;
    top: 50%;
}

body .select2-dropdown {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

body .select2-results__option {
    color: #f1f5f9 !important;
}

body .select2-results__option--highlighted[aria-selected] {
    background-color: #3b82f6 !important;
    color: white !important;
}

body .select2-search__field {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: white !important;
}

/* Button Upgrades */
body .swal2-confirm {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2) !important;
}

body .swal2-cancel {
    background: #334155 !important; /* Slate 700 */
    color: #cbd5e1 !important;
}

body .swal2-cancel:hover {
    background: #475569 !important;
    color: #fff !important;
}
