/* Import Design System & Theme Configuration */
@import 'theme.css';

/* Note: Core styles are now in theme.css. 
   Styles below are specific overrides or legacy styles. */


.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
    width: 4px
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px
}

.map-bg {
    background-color: var(--card-muted);
    background-image: radial-gradient(color-mix(in srgb, var(--border) 80%, transparent) 1.5px, transparent 1.5px);
    background-size: 32px 32px
}

.dark .map-bg {
    background-color: var(--app-bg-dark);
    background-image: radial-gradient(color-mix(in srgb, var(--border-dark) 90%, transparent) 1.5px, transparent 1.5px)
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24
}

.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translatex(-50%);
    width: 12px;
    height: 12px;
    background: inherit;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transform: translatex(-50%) rotate(45deg)
}

.dark .speech-bubble::after {
    border-right: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark)
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.2em 1.2em;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

html.dark select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.card-shadow {
    box-shadow: 0 3px 12px -6px rgba(15, 23, 42, 0.18) !important
}

#app-layout > * {
    min-width: 0;
}

#advanced-map-settings summary::-webkit-details-marker {
    display: none;
}

#advanced-map-settings[open] {
    margin-top: 0.25rem;
}

#bottom-cards-container.cards-centered {
    justify-content: center;
    overflow-x: hidden;
}

#bottom-cards-container.cards-scrollable {
    justify-content: flex-start;
    overflow-x: auto;
}

#bottom-cards-container.cards-centered .card-shadow {
    flex-shrink: 0;
}

#mode-promo-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
    top: 10px;
    bottom: auto;
}

#mode-promo-card.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

#mode-promo-card .mode-promo-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 1280px) {
    #mode-promo-card {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 1023px) {
    #mode-promo-card {
        display: none !important;
    }
}






