:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --card-bg: #1e1e1e;
    --input-bg: #2c2c2c;
    --border-color: #444;
    --primary-color: #3b82f6;
    --navbar-height-desktop: 90px;
    --navbar-height-mobile: 70px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    padding-top: 120px;
    overflow-x: hidden;
}

nav.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    transition: all 0.3s ease-in-out;
}

.bg-glass {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    z-index: 1050;
    min-width: max-content !important;
    width: auto !important;
    background-color: #252525;
    border: 1px solid #444;
}

.main-content {
    position: relative;
    z-index: 1;
    min-height: 60vh;

    padding-left: 15px;
    padding-right: 15px;
}

.card-custom {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    overflow: hidden;
}

.form-control, .form-select {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 8px;

    min-height: 48px;
    font-size: 16px;
}

.form-control:focus, .form-select:focus {
    background-color: #333;
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form-control:disabled, .form-control[readonly] {
    background-color: #222;
    color: #888;
}

.btn {
    min-height: 48px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
}

h1 { font-weight: 700; letter-spacing: -1px; }
.tracking-wide { letter-spacing: 0.5px; }

@media (max-width: 991px) {
    body {
        padding-top: 100px;
    }

    .navbar {
        min-height: var(--navbar-height-mobile);
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .navbar-brand img {
        height: 45px;
        width: auto;
    }

    .navbar-brand span {
        font-size: 1.25rem;
    }

    .navbar-collapse {
        background-color: #1a1a1a;
        margin-top: 15px;
        padding: 15px;
        border-radius: 12px;
        border: 1px solid #333;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .nav-item {
        margin-bottom: 10px;
    }

    .card-custom {
        padding: 1.5rem !important;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .iti__country-list {
        max-width: 300px;
        white-space: normal;
    }

    .navbar-nav .dropdown-menu {
        display: block !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 15px;
    }

    .navbar-nav .nav-link.dropdown-toggle {
        cursor: default;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.8rem;
        color: #6c757d !important;
        pointer-events: none;
        padding-bottom: 5px;
        margin-top: 15px;
    }

    .navbar-nav .dropdown-toggle::after {
        display: none !important;
    }

    .navbar-nav .dropdown-item {
        padding-left: 0;
        color: #fff !important;
        font-size: 1.1rem;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .dropdown-divider {
        border-top: 1px solid rgba(255,255,255,0.1);
        margin: 10px 0;
    }
}

@media (max-width: 400px) {
    .navbar-brand span {
        display: none;
    }
}

.map-container {
    min-height: 200px;
    background-color: #333;
}

.map-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    background: rgba(0,0,0,0);
    transition: background 0.3s;
}

.map-overlay-link:hover {
    background: rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
    .map-container, 
    .map-container iframe {
        height: 100% !important;
        min-height: 100%;
    }
}

.navbar-nav .dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

.cart-icon-rotate {
    display: inline-block;
    transform: rotate(-45deg);
    transition: transform 0.3s ease, color 0.3s ease;
    color: #EB5F38;
}

.nav-link:hover .cart-icon-rotate {
    transform: rotate(-20deg) scale(1.1); 
    color: #fff !important;
}