/* --- Global & Typography --- */
:root {
    --primary-red: #ff3333;
    --primary-dark-red: #cc0000;
    --primary-purple: #8e44ad;
    --dark-bg: #0a0a0a; /* Darker, richer black */
    --card-bg: rgba(30, 30, 30, 0.7); /* Glass effect base */
    --text-muted: #b0b0b0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    background-image: radial-gradient(circle at 10% 20%, rgba(142, 68, 173, 0.1) 0%, transparent 20%);
    color: #ffffff;
    overflow-x: hidden;
}

/* --- Glassmorphism Cards --- */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 12px;
}

/* --- Modern Form Inputs (Floating) --- */
.form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 8px;
    padding: 12px 15px;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 51, 51, 0.25);
}

.form-floating label {
    color: var(--text-muted) !important;
}

/* --- Buttons --- */
.btn-danger {
    background: linear-gradient(45deg, var(--primary-dark-red), var(--primary-red));
    border: none;
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.4);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 51, 0.6);
}

/* --- Navbar Polish --- */
.navbar {
    background: rgba(117, 43, 133, 0.8) !important; /* Semi-transparent */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 13px;
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 0;
    background-color: var(--primary-red);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- Utilities --- */
.text-gradient {
    background: linear-gradient(45deg, #fff, #b0b0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a.badge.bg-white{
    font-weight: 400;
    font-size: 1.75rem;
}

button.btn.btn-cta {
    font-size: 1.75rem;
    font-weight: 600;
    font-family: 'Syne';
}

.modal select {
    height: 40px;
}

#modal_est_price {
    height: 40px;
}

#modal_pickup, #modal_drop {
    height: 94px;
}

/* LOADING OVERLAY */
#loadingOverlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); z-index: 9999;
    display: none; justify-content: center; align-items: center; flex-direction: column;
    backdrop-filter: blur(5px);
}

.form-select {
    height: 50px;
}

/* FOOTER HEART ANIMATION */
.footer-heart {
    color: #ff3333;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}
