/* Base Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

/* Dynamic List Styles */
.model-list, .city-list, .brand-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.model-list li, .city-list li, .brand-grid li {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.2s;
}

.model-list li:hover, .city-list li:hover, .brand-grid li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.model-list a, .city-list a, .brand-grid a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #0073aa;
    font-weight: 500;
    text-align: center;
}

/* Notifications (Toasts) */
.toast-notification {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 320px;
    max-width: 450px;
    pointer-events: auto;
    animation: toast-slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.3s ease;
}

.toast-notification.success { border-left-color: #22c55e; }
.toast-notification.error { border-left-color: var(--primary); }
.toast-notification.info { border-left-color: #3b82f6; }

.toast-message {
    color: #1a1a1a;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
}

@keyframes toast-slide-in {
    from { opacity: 0; transform: translateX(2rem) scale(0.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

.toast-fade-out {
    opacity: 0;
    transform: translateY(-0.5rem) scale(0.95);
}
