/* ============================================
   TRKOOP - Saf CSS Stilleri
   ============================================ */

/* Root Variables */
:root {
    --primary: #F97315;
    --background-light: #f6f7f8;
    --background-dark: #001529;
    --text-white: #ffffff;
    --text-secondary: #92adc9;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-radius: 0.25rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
    --border-radius-full: 9999px;
}

/* Light Mode Variables */
:root:not(.dark) {
    --text-primary: #1a1a1a;
    --text-secondary-light: #6b7280;
    --background-card: #ffffff;
    --background-header: rgba(255, 255, 255, 0.95);
    --border-color-light: rgba(0, 0, 0, 0.1);
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Variables */
.dark {
    --text-primary: #ffffff;
    --text-secondary-light: #92adc9;
    --background-card: rgba(255, 255, 255, 0.05);
    --background-header: rgba(0, 21, 41, 0.9);
    --border-color-light: rgba(255, 255, 255, 0.1);
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-light);
    color: var(--text-primary);
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dark body {
    background-color: var(--background-dark);
    color: var(--text-white);
}

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Scrollbar Hide */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Layout */
.container {
    position: relative;
    display: flex;
    min-height: 100vh;
    width: 100%;
    flex-direction: column;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: var(--background-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color-light);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

@media (min-width: 768px) {
    .header {
        padding: 0.75rem 2.5rem;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    transition: color 0.3s ease;
}

.dark .logo-text {
    color: var(--text-white);
}

.header-right {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .header-right {
        gap: 1.5rem;
    }
}

/* Theme Toggle */
.theme-toggle-container {
    display: flex;
    align-items: center;
}

.theme-toggle-wrapper {
    display: flex;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.125rem;
    border: 1px solid var(--border-color-light);
    transition: all 0.3s ease;
}

.dark .theme-toggle-wrapper {
    background-color: rgba(255, 255, 255, 0.05);
}

.theme-toggle-label {
    display: flex;
    cursor: pointer;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--border-radius-lg) - 0.125rem);
    padding: 0 0.75rem;
    transition: all 0.2s ease;
    color: var(--text-secondary-light);
    font-size: 0.75rem;
    font-weight: 600;
}

.theme-toggle-label.active {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 2px 4px rgba(249, 115, 21, 0.3);
}

.theme-toggle-label:not(.active):hover {
    color: var(--text-primary);
}

.dark .theme-toggle-label:not(.active):hover {
    color: var(--text-white);
}

.theme-toggle-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.theme-radio {
    display: none;
}

/* Search */
.search-container {
    display: none;
    flex-direction: column;
    min-width: 10rem;
    height: 2.5rem;
    max-width: 16rem;
}

@media (min-width: 768px) {
    .search-container {
        display: flex;
    }
}

.search-wrapper {
    display: flex;
    width: 100%;
    flex: 1;
    align-items: stretch;
    border-radius: var(--border-radius-lg);
    height: 100%;
    overflow: hidden;
}

.search-icon-wrapper {
    color: var(--text-secondary-light);
    display: flex;
    background-color: rgba(0, 0, 0, 0.03);
    align-items: center;
    justify-content: center;
    padding-left: 1rem;
    transition: background-color 0.3s ease;
}

.dark .search-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.05);
}

.search-input {
    flex: 1;
    width: 100%;
    border: none;
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    height: 100%;
    padding: 0 1rem;
    padding-left: 0.5rem;
    font-size: 0.875rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dark .search-input {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.search-input:focus {
    outline: none;
    ring: 0;
}

.search-input::placeholder {
    color: var(--text-secondary-light);
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 0.5rem;
}

.header-btn {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.3s ease;
}

.dark .header-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.header-btn:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.dark .header-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header-logout-form {
    display: inline-flex;
    margin: 0;
}
.header-btn-logout {
    width: auto;
    padding: 0.5rem 0.75rem;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}
.header-btn-logout .header-btn-logout-text {
    white-space: nowrap;
}
@media (max-width: 767px) {
    .header-btn-logout .header-btn-logout-text {
        display: none;
    }
    .header-btn-logout {
        padding: 0.5rem;
    }
}

.notification-btn {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.375rem;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: #ef4444;
    color: white;
    border-radius: 0.625rem;
    border: 2px solid var(--background-light);
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    transition: border-color 0.3s ease;
}

.dark .notification-badge {
    border-color: #001529;
}

/* Credit Badge */
.credit-badge {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 6px -1px rgba(249, 115, 21, 0.2), 0 2px 4px -1px rgba(249, 115, 21, 0.06);
}

@media (min-width: 768px) {
    .credit-badge {
        display: flex;
    }
}

.credit-icon {
    color: var(--text-white);
    font-size: 20px;
}

.credit-text {
    color: var(--text-white);
    font-size: 0.875rem;
    font-weight: 700;
}

/* Profile Image */
.profile-image {
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1 / 1;
    background-size: cover;
    border-radius: var(--border-radius-full);
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid rgba(249, 115, 21, 0.5);
}

.profile-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.profile-image-link:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(249, 115, 21, 0.25);
}

/* Main Content */
.main-content {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 100vh;
}

/* Map Container */
.map-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (min-width: 768px) {
    .map-container {
        right: 35%;
    }
}

/* View Toggle Styles */
/* Harita + Liste (default) */
.view-both .map-container {
    opacity: 1;
    transform: translateX(0);
}

.view-both .sidebar {
    display: flex;
}

/* Sadece Harita */
.view-map-only .map-container {
    opacity: 1;
    transform: translateX(0);
    right: 0;
}

.view-map-only .sidebar {
    display: none;
}

/* Sadece Liste */
.view-list-only .map-container {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-100%);
}

.view-list-only .sidebar {
    display: flex;
}

@media (min-width: 768px) {
    .view-list-only .sidebar {
        width: 100%;
        right: 0;
        border-left: 0;
    }
    
    .view-map-only .map-container {
        right: 0;
    }
}

/* Map Background - Leaflet */
.map-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Leaflet Overrides */
.leaflet-container {
    background-color: var(--background-light);
    font-family: 'Inter', sans-serif;
    /* Performans optimizasyonları */
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.dark .leaflet-container {
    background-color: var(--background-dark);
}

/* Harita tile'ları için performans optimizasyonu */
.leaflet-tile-container img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Leaflet Control Styles */
.leaflet-control-zoom {
    display: none !important;
}

.leaflet-control-attribution {
    display: none !important;
}

/* Custom Marker Styles */
.custom-marker {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.custom-marker:hover {
    transform: scale(1.1);
}

.marker-popup-content {
    text-align: center;
    padding: 0.5rem;
}

.marker-popup-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.marker-popup-badge.urgent {
    background-color: #ef4444;
}

.marker-popup-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.25rem;
}

.dark .marker-popup-price {
    color: var(--text-white);
}

/* Leaflet Popup Customization */
.leaflet-popup-content-wrapper {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background-color: var(--background-card);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dark .leaflet-popup-content-wrapper {
    background-color: rgba(0, 21, 41, 0.95);
    color: var(--text-white);
}

.leaflet-popup-tip {
    background-color: var(--background-card);
    transition: background-color 0.3s ease;
}

.dark .leaflet-popup-tip {
    background-color: rgba(0, 21, 41, 0.95);
}

.leaflet-popup-close-button {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.dark .leaflet-popup-close-button {
    color: var(--text-white);
}

/* View Toggle */
.view-toggle {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    max-width: 24rem;
    padding: 0 1rem;
}

.view-toggle-wrapper {
    display: flex;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background-color: var(--background-header);
    padding: 0.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color-light);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.view-toggle-label {
    display: flex;
    cursor: pointer;
    height: 100%;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    padding: 0 0.5rem;
    transition: all 0.2s;
}

.view-toggle-label.active {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.view-toggle-label:not(.active) {
    color: var(--text-secondary-light);
}

.view-toggle-label:not(.active):hover {
    color: var(--text-primary);
}

.dark .view-toggle-label:not(.active):hover {
    color: var(--text-white);
}

.view-toggle-label input {
    display: none;
}

.view-toggle-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .view-toggle-text {
        font-size: 0.75rem;
    }
}

/* Route Info Panel */
.route-info-panel {
    position: absolute;
    top: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: 90%;
    max-width: 400px;
    background-color: var(--background-header);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.dark .route-info-panel {
    background-color: rgba(0, 21, 41, 0.95);
}

.route-info-content {
    position: relative;
    padding: 1rem 1.25rem;
}

.route-info-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.route-info-header .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.5rem;
}

.route-info-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.dark .route-info-title {
    color: var(--text-white);
}

.route-info-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.route-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary-light);
    font-size: 0.875rem;
}

.route-info-item .material-symbols-outlined {
    font-size: 1.125rem;
    color: var(--primary);
}

.route-info-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dark .route-info-close {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.route-info-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.dark .route-info-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Listing Card Active State */
.listing-card.active {
    border-color: var(--primary);
    background-color: rgba(249, 115, 21, 0.05);
}

.dark .listing-card.active {
    background-color: rgba(249, 115, 21, 0.1);
}

/* Map Controls */
.map-controls {
    position: absolute;
    right: 1rem;
    top: 7rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.map-control-group {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius-lg);
    background-color: var(--background-header);
    border: 1px solid var(--border-color-light);
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.map-control-btn {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    border: none;
    background: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.3s ease;
}

.dark .map-control-btn {
    color: var(--text-white);
}

.map-control-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark .map-control-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.map-control-btn.bordered {
    border-bottom: 1px solid var(--border-color-light);
}

.map-location-btn {
    position: relative;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    background-color: var(--background-header);
    border: 1px solid var(--border-color-light);
    color: var(--text-primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.3s ease;
}

.dark .map-location-btn {
    color: var(--text-white);
}

.map-location-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark .map-location-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Location Tooltip */
.location-tooltip {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--text-white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dark .location-tooltip {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
}

.map-location-btn:hover .location-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.location-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.dark .location-tooltip::after {
    border-top-color: rgba(255, 255, 255, 0.95);
}

/* Bounce animation for future use */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse animation for user location */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(66, 133, 244, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
    }
}

/* User Location Marker */
.user-location-marker {
    z-index: 1000;
}

/* Sidebar */
.sidebar {
    position: absolute;
    bottom: 4rem;
    z-index: 40;
    width: 100%;
    max-height: 45vh;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-color-light);
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    overflow: hidden;
}

.dark .sidebar {
    background-color: rgba(0, 21, 41, 0.95);
}

@media (min-width: 768px) {
    .sidebar {
        inset-y: 0;
        left: auto;
        right: 0;
        width: 35%;
        max-height: 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top: 0;
        border-bottom: 0;
        border-right: 0;
        border-left: 1px solid var(--border-color-light);
        box-shadow: none;
        padding-top: 5rem;
        padding-bottom: 0;
    }
}

.sidebar-handle {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.75rem 0;
}

@media (min-width: 768px) {
    .sidebar-handle {
        display: none;
    }
}

.sidebar-handle-bar {
    width: 3rem;
    height: 0.375rem;
    background-color: rgba(249, 115, 21, 0.4);
    border-radius: var(--border-radius-full);
}

.sidebar-header {
    padding: 0.5rem 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.sidebar-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Liste görünümünde header actions'ı her zaman göster */
.view-list-only .sidebar-header-actions {
    display: flex !important;
}

@media (max-width: 767px) {
    .sidebar-header {
        padding: 0.4rem 1rem 0.75rem;
    }
}

.sidebar-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    transition: color 0.3s ease;
}

@media (max-width: 767px) {
    .sidebar-title {
        font-size: 1rem;
    }
}

.dark .sidebar-title {
    color: var(--text-white);
}

/* Back to Map Button */
.back-to-map-btn {
    display: none !important; /* Varsayılan olarak gizli */
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.back-to-map-btn:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.back-to-map-btn:active {
    transform: translateY(0);
}

.back-to-map-btn .material-symbols-outlined {
    font-size: 1.125rem;
}

.back-to-map-text {
    display: none;
}

@media (min-width: 768px) {
    .back-to-map-text {
        display: inline;
    }
}

/* Liste görünümünde butonu göster */
.view-list-only .back-to-map-btn,
.view-list-only .sidebar-header .back-to-map-btn,
.view-list-only .sidebar .back-to-map-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.sidebar-link {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1rem 0;
}

@media (max-width: 767px) {
    .sidebar-content {
        padding: 0.75rem 0.75rem 0;
    }
}

/* Listing Cards */
.listing-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-radius: 0.75rem;
    background-color: var(--background-card);
    border: 1px solid var(--border-color-light);
    padding: 1rem;
    box-shadow: var(--shadow-light);
    transition: border-color 0.2s ease, background-color 0.3s ease;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .listing-card {
        padding: 0.75rem;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        border-radius: 0.5rem;
    }
}

.sidebar-content > .listing-card:last-child {
    margin-bottom: 0;
}

.listing-card:hover {
    border-color: rgba(249, 115, 21, 0.5);
}

.listing-card.opacity-low {
    opacity: 0.8;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.listing-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.listing-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.listing-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 767px) {
    .listing-badge {
        font-size: 9px;
        padding: 0.1rem 0.4rem;
    }
}

.listing-badge.urgent {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.listing-badge.truck {
    background-color: rgba(249, 115, 21, 0.2);
    color: var(--primary);
}

.listing-badge.van {
    background-color: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

.listing-id {
    color: var(--text-secondary-light);
    font-size: 0.75rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

@media (max-width: 767px) {
    .listing-id {
        font-size: 0.6875rem;
    }
}

.listing-route {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

@media (max-width: 767px) {
    .listing-route {
        font-size: 0.9375rem;
        gap: 0.375rem;
        margin-top: 0.125rem;
    }
}

.dark .listing-route {
    color: var(--text-white);
}

.listing-route-icon {
    color: var(--primary);
}

.listing-details {
    color: var(--text-secondary-light);
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

@media (max-width: 767px) {
    .listing-details {
        font-size: 0.75rem;
    }
}

.listing-price-section {
    text-align: right;
}

.listing-price {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
}

@media (max-width: 767px) {
    .listing-price {
        font-size: 1rem;
    }
}

.listing-price.not-specified {
    color: var(--text-secondary-light);
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .listing-price.not-specified {
        font-size: 0.875rem;
    }
}

.listing-price.not-specified::before {
    content: 'info';
    font-family: 'Material Symbols Outlined';
    font-size: 1rem;
    font-style: normal;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.listing-price-note {
    color: var(--text-secondary-light);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.listing-price.not-specified + .listing-price-note {
    color: var(--primary);
    font-weight: 600;
}

.listing-details-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem;
    background-color: var(--background-light);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    margin-top: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.dark .listing-details-toggle {
    background-color: rgba(255, 255, 255, 0.03);
}

.listing-details-toggle:hover {
    background-color: rgba(249, 115, 21, 0.1);
    border-color: var(--primary);
}

.dark .listing-details-toggle:hover {
    background-color: rgba(249, 115, 21, 0.15);
}

.listing-details-toggle .material-symbols-outlined:first-child {
    color: var(--primary);
    font-size: 1.125rem;
}

.listing-details-toggle .toggle-icon {
    color: var(--text-secondary-light);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.listing-details-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.listing-details-section {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    margin-top: 0.5rem;
    border: 1px solid var(--border-color-light);
    animation: slideDown 0.3s ease;
}

.listing-details-section.show {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

.dark .listing-details-section {
    background-color: rgba(255, 255, 255, 0.03);
}

.listing-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.listing-detail-icon {
    color: var(--primary);
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.listing-detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
}

.listing-detail-label {
    font-size: 0.75rem;
    color: var(--text-secondary-light);
    font-weight: 500;
}

.listing-detail-value {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
}

.dark .listing-detail-value {
    color: var(--text-white);
}

@media (max-width: 767px) {
    .listing-details-section {
        padding: 0.5rem;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .listing-detail-item {
        gap: 0.5rem;
    }
    
    .listing-detail-icon {
        font-size: 1rem;
    }
    
    .listing-detail-label {
        font-size: 0.6875rem;
    }
    
    .listing-detail-value {
        font-size: 0.75rem;
    }
}

.listing-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

@media (max-width: 767px) {
    .listing-actions {
        gap: 0.375rem;
        margin-top: 0.375rem;
    }
}

.btn-primary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    height: 2.5rem;
    background-color: var(--primary);
    color: var(--text-white);
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.1s;
}

@media (max-width: 767px) {
    .btn-primary {
        height: 2.25rem;
        font-size: 0.8125rem;
        gap: 0.375rem;
    }
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-icon {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.3s ease;
}

@media (max-width: 767px) {
    .btn-icon {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.dark .btn-icon {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.btn-icon:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.dark .btn-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-icon svg,
.btn-icon .material-symbols-outlined {
    font-size: 20px;
}

/* Navigation */
.nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color-light);
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 1rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dark .nav {
    background-color: rgba(0, 21, 41, 0.95);
    border-top-color: #233648;
}

@media (min-width: 768px) {
    .nav {
        height: 5rem;
    }
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: var(--text-secondary-light);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-btn:hover {
    color: var(--text-primary);
}

.dark .nav-btn:hover {
    color: var(--text-white);
}

.nav-btn.active {
    color: var(--primary);
}

.nav-btn-text {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-btn-icon {
    font-variation-settings: 'FILL' 0;
}

.nav-btn.active .nav-btn-icon {
    font-variation-settings: 'FILL' 1;
}

.nav-center {
    position: relative;
    top: -1.5rem;
}

@media (min-width: 768px) {
    .nav-center {
        top: -2rem;
    }
}

.nav-center-btn {
    display: flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 0 20px rgba(249, 115, 21, 0.5);
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

@media (min-width: 768px) {
    .nav-center-btn {
        width: 4rem;
        height: 4rem;
    }
}

.nav-center-btn:hover {
    transform: scale(1.05);
}

.nav-center-btn:active {
    transform: scale(0.95);
}

.nav-center-icon {
    font-size: 1.875rem;
}

.nav-center-label {
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-secondary-light);
}

/* ============================================
   Yük İlanı Ver Modal
   ============================================ */

.listing-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.listing-modal.active {
    display: flex;
}

.listing-modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.listing-modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background-color: var(--background-card);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
}

.listing-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color-light);
    flex-shrink: 0;
}

.listing-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease;
}

.listing-modal-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark .listing-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.listing-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.listing-modal-steps {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.step-indicator.active {
    opacity: 1;
}

.step-number {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-light);
    border: 2px solid var(--border-color-light);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary-light);
    transition: all 0.3s ease;
}

.step-indicator.active .step-number {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary-light);
}

.step-indicator.active .step-label {
    color: var(--primary);
}

.listing-step {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.listing-step.active {
    display: flex;
}

.listing-step-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    padding-bottom: 0;
}

.listing-step-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color-light);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* Form Elements */
.btn-multiple-locations {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    transition: background-color 0.2s ease;
}

.btn-multiple-locations:hover {
    background-color: #ea580c;
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 2.5rem;
    background-color: var(--background-light);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.dark .form-input,
.dark .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color-light);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 21, 0.1);
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary-light);
    font-size: 1.25rem;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-secondary-light);
    margin-top: 0.25rem;
}

/* Location Inputs */
.location-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.location-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--background-light);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    padding: 0.5rem;
}

.dark .location-input-wrapper {
    background-color: rgba(255, 255, 255, 0.05);
}

.location-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.location-input-container {
    flex: 1;
    position: relative;
}

.location-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.location-input:focus {
    outline: none;
}

/* Location Autocomplete */
.location-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 0.25rem;
}

.dark .location-autocomplete {
    background-color: rgba(0, 21, 41, 0.95);
    border-color: var(--border-color-light);
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--border-color-light);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background-color: var(--background-light);
}

.dark .autocomplete-item:hover,
.dark .autocomplete-item.selected {
    background-color: rgba(255, 255, 255, 0.1);
}

.autocomplete-item .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.125rem;
}

.autocomplete-text {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}

.autocomplete-item.no-results {
    color: var(--text-secondary-light);
    cursor: default;
    font-style: italic;
}

.autocomplete-item.no-results:hover {
    background-color: transparent;
}

.btn-add-location {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-add-location:hover {
    background-color: #ea580c;
}

/* Map Preview */
.map-preview-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color-light);
    margin-bottom: 1.5rem;
}

.map-preview {
    width: 100%;
    height: 100%;
}

/* Listing Map Info Panel */
.listing-map-info {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 1000;
    background-color: var(--background-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(8px);
}

.dark .listing-map-info {
    background-color: rgba(0, 21, 41, 0.95);
}

.listing-map-info-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.listing-map-info-content .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.5rem;
}

.listing-map-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.listing-map-info-label {
    font-size: 0.75rem;
    color: var(--text-secondary-light);
    font-weight: 500;
}

.listing-map-info-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.listing-map-marker {
    background: transparent;
    border: none;
}

/* Vehicle Type Scroll */
.vehicle-type-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    -webkit-overflow-scrolling: touch;
}

.vehicle-type-scroll::-webkit-scrollbar {
    height: 6px;
}

.vehicle-type-scroll::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 3px;
}

.vehicle-type-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.vehicle-type-scroll::-webkit-scrollbar-thumb:hover {
    background: #ea580c;
}

/* Cargo Type Scroll */
.cargo-type-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    -webkit-overflow-scrolling: touch;
}

.cargo-type-scroll::-webkit-scrollbar {
    height: 6px;
}

.cargo-type-scroll::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 3px;
}

.cargo-type-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.cargo-type-scroll::-webkit-scrollbar-thumb:hover {
    background: #ea580c;
}

.vehicle-type-btn,
.cargo-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: var(--background-light);
    border: 2px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    flex-shrink: 0;
    min-width: 120px;
    white-space: nowrap;
}

.dark .vehicle-type-btn,
.dark .cargo-type-btn {
    background-color: rgba(255, 255, 255, 0.05);
}

.vehicle-type-btn:hover,
.cargo-type-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.vehicle-type-btn.active,
.cargo-type-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.vehicle-type-btn .material-symbols-outlined,
.cargo-type-btn .material-symbols-outlined {
    font-size: 2rem;
}

/* Buttons */
.btn-next,
.btn-back,
.btn-publish {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-next {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-next:hover {
    background-color: #ea580c;
}

.btn-back {
    background-color: var(--background-light);
    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
}

.dark .btn-back {
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-back:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark .btn-back:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-publish {
    background-color: #10b981;
    color: var(--text-white);
}

.btn-publish:hover {
    background-color: #059669;
}

/* Summary Section */
.summary-section {
    padding: 1rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color-light);
}

.dark .summary-section {
    background-color: rgba(255, 255, 255, 0.05);
}

.summary-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: var(--background-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color-light);
}

.summary-item-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary-light);
}

.summary-item-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 767px) {
    .listing-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .listing-modal-header {
        padding: 1rem;
    }
    
    .listing-modal-title {
        font-size: 1.25rem;
    }
    
    .step-label {
        display: none;
    }
    
    .listing-step-content {
        padding: 1rem;
    }
    
    .listing-step-footer {
        padding: 1rem;
        flex-direction: column;
    }
    
    .btn-next,
    .btn-back,
    .btn-publish {
        width: 100%;
        justify-content: center;
    }
    
    .cargo-type-scroll {
        gap: 0.5rem;
    }
    
    .vehicle-type-scroll {
        gap: 0.5rem;
    }
    
    .vehicle-type-btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
        min-width: 100px;
    }
    
    .cargo-type-btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .vehicle-type-btn .material-symbols-outlined,
    .cargo-type-btn .material-symbols-outlined {
        font-size: 1.5rem;
    }
    
    .cargo-type-scroll {
        gap: 0.5rem;
    }
    
    .vehicle-type-scroll {
        gap: 0.5rem;
    }
    
    .vehicle-type-btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
        min-width: 100px;
    }
    
    .cargo-type-btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .vehicle-type-btn .material-symbols-outlined,
    .cargo-type-btn .material-symbols-outlined {
        font-size: 1.5rem;
    }
}

/* ============================================
   Ayarlar Menüsü
   ============================================ */

.settings-menu {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: none;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0;
}

.settings-menu.active {
    display: flex;
}

.settings-menu-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.settings-menu-content {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--background-card);
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1501;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.settings-menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.settings-menu-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.settings-menu-close {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease;
}

.settings-menu-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark .settings-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.settings-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.settings-section {
    margin-bottom: 2rem;
    padding: 0 1.5rem;
}

.settings-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.settings-section-title .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.25rem;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--background-light);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.dark .settings-item {
    background-color: rgba(255, 255, 255, 0.03);
}

.settings-item.clickable {
    cursor: pointer;
}

.settings-item.clickable:hover {
    background-color: rgba(249, 115, 21, 0.1);
    border-color: var(--primary);
}

.dark .settings-item.clickable:hover {
    background-color: rgba(249, 115, 21, 0.15);
}

.settings-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.settings-item-icon {
    color: var(--primary);
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.settings-item-content:has(.settings-item-icon) {
    flex-direction: row;
    align-items: center;
}

.settings-item-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.settings-item-desc {
    font-size: 0.75rem;
    color: var(--text-secondary-light);
}

.settings-item-arrow {
    color: var(--text-secondary-light);
    font-size: 1.25rem;
}

/* Toggle Switch */
.settings-toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    cursor: pointer;
}

.settings-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.dark .toggle-slider {
    background-color: #555;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Theme Toggle in Settings */
.settings-section .theme-toggle-container {
    padding: 0;
}

.settings-section .theme-toggle-wrapper {
    width: 100%;
    max-width: none;
}

/* Logout Button */
.settings-logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius-lg);
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-logout-btn:hover {
    background-color: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

.settings-logout-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

@media (max-width: 767px) {
    .settings-menu-content {
        max-width: 100%;
    }
    
    .settings-menu-header {
        padding: 1rem;
    }
    
    .settings-menu-title {
        font-size: 1.25rem;
    }
    
    .settings-section {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .settings-item {
        padding: 0.75rem;
    }
}

/* ============================================
   Bildirimler Paneli
   ============================================ */

.notifications-panel {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: none;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0;
}

.notifications-panel.active {
    display: flex;
}

.notifications-panel-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.notifications-panel-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background-color: var(--background-card);
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1501;
    animation: slideInRight 0.3s ease;
}

.notifications-panel-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.notifications-panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.notifications-panel-close {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease;
}

.notifications-panel-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark .notifications-panel-close:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.notifications-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.notifications-list {
    padding: 0.5rem 0;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color-light);
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.notification-item:hover {
    background-color: rgba(249, 115, 21, 0.05);
}

.dark .notification-item:hover {
    background-color: rgba(249, 115, 21, 0.1);
}

.notification-item.unread {
    background-color: rgba(249, 115, 21, 0.08);
    border-left: 3px solid var(--primary);
}

.dark .notification-item.unread {
    background-color: rgba(249, 115, 21, 0.12);
}

.notification-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(249, 115, 21, 0.1);
    border-radius: 50%;
    color: var(--primary);
    flex-shrink: 0;
}

.notification-icon.urgent {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.notification-icon .material-symbols-outlined {
    font-size: 1.25rem;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.notification-message {
    font-size: 0.8125rem;
    color: var(--text-secondary-light);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-secondary-light);
}

.notification-action {
    flex-shrink: 0;
}

.notification-view-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-view-btn:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
}

.notifications-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-secondary-light);
}

.notifications-empty .material-symbols-outlined {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.notifications-empty p {
    font-size: 0.875rem;
}

.notifications-panel-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color-light);
    flex-shrink: 0;
}

.notifications-mark-all-read {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background-color: var(--background-light);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notifications-mark-all-read:hover {
    background-color: rgba(249, 115, 21, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.notifications-mark-all-read .material-symbols-outlined {
    font-size: 1.125rem;
}

@media (max-width: 767px) {
    .notifications-panel-content {
        max-width: 100%;
    }
    
    .notifications-panel-header {
        padding: 1rem;
    }
    
    .notifications-panel-title {
        font-size: 1.25rem;
    }
    
    .notification-item {
        padding: 0.75rem 1rem;
    }
    
    .notification-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .notification-icon .material-symbols-outlined {
        font-size: 1rem;
    }
    
    .notification-view-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.6875rem;
    }
}

/* ============================================
   Hazır Araçlar Sayfası
   ============================================ */

.vehicles-page {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: var(--background-light);
    overflow: hidden;
    display: none;
}

.vehicles-page.active {
    display: block;
}

.vehicles-page .container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicles-back-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 1rem;
}

.vehicles-back-btn:hover {
    background-color: rgba(249, 115, 21, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Vehicles page view toggle */
.vehicles-page.view-map-only .sidebar {
    display: none;
}

.vehicles-page.view-list-only .map-container {
    display: none;
}

.vehicles-page.view-list-only .sidebar {
    width: 100%;
    max-width: 100%;
}

.vehicles-page.view-both .sidebar {
    /* Default split view */
}

/* Header */
.vehicles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color-light);
}

.vehicles-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vehicles-back-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.vehicles-back-btn:hover {
    background-color: rgba(249, 115, 21, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.vehicles-header-title h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.vehicles-header-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary-light);
    margin: 0.25rem 0 0 0;
}

.vehicles-header-right {
    display: flex;
    gap: 1rem;
}

.vehicles-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vehicles-filter-btn:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
}

/* Filtreler */
.vehicles-filters {
    background-color: var(--background-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.vehicles-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.vehicles-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vehicles-filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.vehicles-filter-select {
    padding: 0.75rem 1rem;
    background-color: var(--background-light);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vehicles-filter-select:hover {
    border-color: var(--primary);
}

.vehicles-filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 21, 0.1);
}

/* Metrikler */
.vehicles-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vehicles-metric-card {
    background-color: var(--background-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.vehicles-metric-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.vehicles-metric-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
}

.vehicles-metric-icon .material-symbols-outlined {
    font-size: 1.75rem;
}

.vehicles-metric-content {
    flex: 1;
}

.vehicles-metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.vehicles-metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary-light);
    margin-bottom: 0.5rem;
}

.vehicles-metric-change {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary-light);
}

.vehicles-metric-change.positive {
    color: #22c55e;
}

/* Tab Navigation */
.vehicles-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color-light);
}

.vehicles-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary-light);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vehicles-tab:hover {
    color: var(--text-primary);
}

.vehicles-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.vehicles-tab .material-symbols-outlined {
    font-size: 1.125rem;
}

/* Tab Content */
.vehicles-content {
    position: relative;
}

.vehicles-tab-content {
    display: none;
}

.vehicles-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Araç Grid */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Araç Kartı */
.vehicle-card {
    background-color: var(--background-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.vehicle-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.vehicle-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.vehicle-card-badge {
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.vehicle-card-badge.available {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.vehicle-card-badge.busy {
    background-color: rgba(249, 115, 21, 0.1);
    color: #f97316;
}

.vehicle-card-badge.maintenance {
    background-color: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.vehicle-card-menu {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-secondary-light);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.vehicle-card-menu:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.vehicle-card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vehicle-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(249, 115, 21, 0.1);
    border-radius: var(--border-radius-lg);
    color: var(--primary);
}

.vehicle-card-icon .material-symbols-outlined {
    font-size: 1.75rem;
}

.vehicle-card-info {
    flex: 1;
}

.vehicle-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.vehicle-card-plate {
    font-size: 0.875rem;
    color: var(--text-secondary-light);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.vehicle-card-location {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-secondary-light);
}

.vehicle-card-location .material-symbols-outlined {
    font-size: 1rem;
}

.vehicle-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color-light);
}

.vehicle-card-stat {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-secondary-light);
}

.vehicle-card-stat .material-symbols-outlined {
    font-size: 1rem;
}

/* Liste Görünümü */
.vehicles-list-container {
    background-color: var(--background-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    min-height: 400px;
}

.vehicles-empty-state {
    text-align: center;
    color: var(--text-secondary-light);
    padding: 3rem;
}

/* Harita Görünümü */
.vehicles-map-container {
    background-color: var(--background-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    height: 600px;
}

.vehicles-map-view {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .vehicles-page-container {
        padding: 0.75rem;
    }
    
    .vehicles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .vehicles-header-title h1 {
        font-size: 1.5rem;
    }
    
    .vehicles-filter-row {
        grid-template-columns: 1fr;
    }
    
    .vehicles-metrics {
        grid-template-columns: 1fr;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicles-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .vehicles-tab {
        white-space: nowrap;
        padding: 0.75rem 1rem;
    }
    
    .vehicles-map-container {
        height: 400px;
    }
}

/* ============================================
   İletişim Bilgisi Popup
   ============================================ */

.contact-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.contact-popup.active {
    display: flex;
}

.contact-popup-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.contact-popup-content {
    position: relative;
    width: 100%;
    max-width: 450px;
    background-color: var(--background-card);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 2001;
}

.contact-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease;
    z-index: 10;
}

.contact-popup-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark .contact-popup-close:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.contact-popup-step {
    display: none;
    flex-direction: column;
    padding: 2rem;
}

.contact-popup-step.active {
    display: flex;
}

.contact-popup-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-popup-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 2rem;
}

.contact-popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.contact-popup-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.credit-info {
    background-color: var(--background-light);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dark .credit-info {
    background-color: rgba(255, 255, 255, 0.03);
}

.credit-current,
.credit-after,
.credit-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.credit-current {
    font-weight: 600;
}

.credit-cost {
    color: #ef4444;
    font-weight: 700;
}

.credit-new {
    font-weight: 700;
    color: var(--primary);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color-light);
}

.contact-confirm-text {
    text-align: center;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 0.5rem;
}

.contact-popup-desc {
    font-size: 0.875rem;
    color: var(--text-secondary-light);
    margin: 0.25rem 0 0 0;
    text-align: center;
}
.contact-guest-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}
.contact-guest-buttons .btn-cancel,
.contact-guest-buttons .btn-confirm {
    width: 100%;
    justify-content: center;
}
.contact-form-group {
    margin-bottom: 1rem;
}
.contact-form-group .contact-form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary-light);
    margin-bottom: 0.375rem;
}
.contact-guest-otp-inputs {
    justify-content: center;
    margin-bottom: 0.75rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--background-light);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
}

.dark .contact-info-item {
    background-color: rgba(255, 255, 255, 0.03);
}

.contact-info-icon {
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.contact-info-label {
    font-size: 0.75rem;
    color: var(--text-secondary-light);
    font-weight: 500;
}

.contact-info-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.dark .contact-info-value {
    color: var(--text-white);
}

.credit-updated {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--border-radius-lg);
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 600;
}

.credit-updated .material-symbols-outlined {
    color: #10b981;
    font-size: 1.25rem;
}

.contact-popup-footer {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-cancel,
.btn-confirm,
.btn-phone,
.btn-whatsapp {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-cancel {
    background-color: var(--background-light);
    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
}

.dark .btn-cancel {
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-cancel:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark .btn-cancel:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-confirm {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-confirm:hover {
    background-color: #ea580c;
}

.btn-phone {
    background-color: #10b981;
    color: var(--text-white);
}

.btn-phone:hover {
    background-color: #059669;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--text-white);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
}

@media (max-width: 767px) {
    .contact-popup-content {
        max-width: 100%;
        margin: 1rem;
    }
    
    .contact-popup-step {
        padding: 1.5rem;
    }
    
    .contact-popup-header {
        margin-bottom: 1rem;
    }
    
    .contact-popup-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
    
    .contact-popup-title {
        font-size: 1.25rem;
    }
    
    .contact-popup-footer {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-confirm,
    .btn-phone,
    .btn-whatsapp {
        width: 100%;
    }
}

/* ============================================
   Header - Giriş / Kayıt butonları (misafir)
   ============================================ */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.auth-btn .material-symbols-outlined {
    font-size: 1.125rem;
}

.auth-btn-login {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
}

.dark .auth-btn-login {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border-color: var(--border-color-light);
}

.auth-btn-login:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.dark .auth-btn-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.auth-btn-register {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 2px 4px rgba(249, 115, 21, 0.25);
}

.auth-btn-register:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .auth-btn span:not(.material-symbols-outlined) {
        display: none;
    }
    .auth-btn {
        padding: 0.5rem;
    }
}

/* ============================================
   Giriş / Kayıt Modal (tema uyumlu)
   ============================================ */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    height: 100vh;
    overflow-y: auto;
}

.auth-modal.active {
    display: flex;
}

.auth-modal[aria-hidden="false"] {
    display: flex;
}

.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.auth-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background-color: var(--background-card);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color-light);
    overflow: hidden;
    z-index: 2001;
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease;
    z-index: 10;
}

.auth-modal-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark .auth-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.auth-modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color-light);
    padding: 0 1rem;
    gap: 0.25rem;
}

.auth-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary-light);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s ease, border-color 0.2s ease;
    margin-bottom: -1px;
}

.auth-tab .material-symbols-outlined {
    font-size: 1.25rem;
}

.auth-tab:hover {
    color: var(--text-primary);
}

.dark .auth-tab:hover {
    color: var(--text-white);
}

.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-modal-panel {
    display: none;
    padding: 1.5rem 1.5rem 2rem;
}

.auth-modal-panel.active {
    display: block;
}

.auth-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.auth-modal-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.5rem;
}

.auth-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.auth-form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary-light);
}

.auth-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dark .auth-form-input {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.auth-form-input::placeholder {
    color: var(--text-secondary-light);
}

.auth-form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(249, 115, 21, 0.2);
}

.auth-form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    margin-top: 0.25rem;
}

.auth-form-submit .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Kayıt: Rol seçimi (kart radio) */
.auth-role-group {
    margin-bottom: 0.25rem;
}
.auth-role-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    margin-top: 0.5rem;
}
.auth-role-option {
    margin: 0;
    cursor: pointer;
}
.auth-role-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.auth-role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 5px;
    min-height: 4.5rem;
    background-color: rgba(0, 0, 0, 0.03);
    border: 2px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 0px;

}
.dark .auth-role-card {
    background-color: rgba(255, 255, 255, 0.05);
}
.auth-role-option:hover .auth-role-card {
    border-color: rgba(249, 115, 21, 0.5);
    background-color: rgba(249, 115, 21, 0.04);
}
.dark .auth-role-option:hover .auth-role-card {
    background-color: rgba(249, 115, 21, 0.08);
}
.auth-role-input:focus-visible + .auth-role-card {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.auth-role-option.selected .auth-role-card,
.auth-role-input:checked + .auth-role-card {
    border-color: var(--primary);
    background-color: rgba(249, 115, 21, 0.1);
    box-shadow: 0 0 0 1px var(--primary);
}
.dark .auth-role-option.selected .auth-role-card,
.dark .auth-role-input:checked + .auth-role-card {
    background-color: rgba(249, 115, 21, 0.15);
}
.auth-role-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: rgba(249, 115, 21, 0.15);
    color: var(--primary);
}
.auth-role-icon .material-symbols-outlined {
    font-size: 1.25rem;
}
.auth-role-input:checked + .auth-role-card .auth-role-icon {
    background-color: var(--primary);
    color: var(--text-white);
}
.auth-role-text {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}
.dark .auth-role-text {
    color: var(--text-white);
}

/* Auth Login: iki adım (telefon + OTP) */
.auth-login-step {
    display: none;
}
.auth-login-step.active {
    display: block;
    animation: authStepIn 0.25s ease;
}
@keyframes authStepIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-modal-desc {
    font-size: 0.875rem;
    color: var(--text-secondary-light);
    margin: 0;
    text-align: center;
}
.auth-masked-phone {
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.02em;
}
.auth-otp-ttl {
    font-size: 0.8125rem;
    color: var(--text-secondary-light);
    margin-top: 0.25rem;
}

.auth-input-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dark .auth-input-wrap {
    background-color: rgba(255, 255, 255, 0.05);
}
.auth-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(249, 115, 21, 0.2);
}
.auth-input-prefix {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary-light);
    background-color: rgba(0, 0, 0, 0.04);
    border-right: 1px solid var(--border-color-light);
}
.dark .auth-input-prefix {
    background-color: rgba(255, 255, 255, 0.06);
}
.auth-input-wrap .auth-form-input {
    border: none;
    background: transparent;
    flex: 1;
    min-width: 0;
}
.auth-input-wrap .auth-form-input:focus {
    box-shadow: none;
}

.auth-form-error {
    font-size: 0.8125rem;
    color: #dc2626;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}
.auth-form-group.has-error .auth-form-input,
.auth-form-group.has-error .auth-input-wrap {
    border-color: #dc2626;
}
.dark .auth-form-group.has-error .auth-input-wrap {
    border-color: #f87171;
}
.auth-form-group.has-error .auth-otp-digit {
    border-color: #dc2626;
}
.dark .auth-form-group.has-error .auth-otp-digit {
    border-color: #f87171;
}

/* OTP 4 hane kutu */
.auth-form-otp {
    gap: 1rem;
}
.auth-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.auth-otp-digit {
    width: 3.25rem;
    height: 3.25rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: rgba(0, 0, 0, 0.03);
    border: 2px solid var(--border-color-light);
    border-radius: var(--border-radius-lg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dark .auth-otp-digit {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}
.auth-otp-digit:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 21, 0.25);
}
.auth-otp-digit.filled {
    border-color: var(--primary);
    background-color: rgba(249, 115, 21, 0.06);
}
.auth-modal-icon-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.auth-otp-actions {
    text-align: center;
    margin: -0.25rem 0 0;
}
.auth-link-btn {
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s ease;
}
.auth-link-btn:hover:not(:disabled) {
    color: #ea580c;
    text-decoration: underline;
}
.auth-link-btn:disabled {
    color: var(--text-secondary-light);
    cursor: not-allowed;
}
.auth-resend-countdown {
    margin-left: 0.25rem;
    color: var(--text-secondary-light);
    font-weight: 500;
}

/* Gönder butonu loading state */
.auth-form-submit .auth-btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.auth-form-submit.is-loading .btn-text,
.auth-form-submit.is-loading .material-symbols-outlined {
    display: none;
}
.auth-form-submit.is-loading .auth-btn-loading {
    display: flex;
}
.auth-form-submit.is-loading {
    pointer-events: none;
    opacity: 0.85;
}
.auth-spinner {
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: authSpinner 0.6s linear infinite;
}
@keyframes authSpinner {
    to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    .auth-modal-content {
        max-width: 100%;
        margin: 0.5rem;
    }
    .auth-modal-panel {
        padding: 1.25rem 1.25rem 1.5rem;
    }
    .auth-tab span:not(.material-symbols-outlined) {
        font-size: 0.8125rem;
    }
    .auth-otp-digit {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.25rem;
    }
    .auth-role-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .auth-role-card {
        padding: 0.875rem 0.5rem;
        min-height: 4rem;
    }
    .auth-role-text {
        font-size: 0.75rem;
    }
}

    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

