/**
 * Booking Steps CSS
 * 3 adımlı sipariş sistemi stilleri
 */

/* Reset body/html margins for full screen map */
body.step-2-active {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.step-2-active html {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.step-2-active .container {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

:root {
    --brand-primary: #fdca12;
    --step-active: #fdca12;
    --step-inactive: #e0e0e0;
    --step-completed: #4CAF50;
}

/* Progress Steps Indicator */
.steps-progress-container {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
    position: relative; /* Sticky kaldırıldı - sadece header sticky olacak */
    z-index: 1;
}

.steps-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.step-item:not(.active):not(.completed) {
    opacity: 0.7;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--step-inactive);
    color: #333; /* Siyah renk - görünür olması için */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s;
    border: 2px solid #e0e0e0;
}

.step-item.active .step-number {
    background: var(--step-active);
    color: #fff; /* Aktif olan sarı arka plan üzerinde beyaz */
    border-color: var(--step-active);
}

.step-item.completed .step-number {
    background: var(--step-completed);
    color: #fff; /* Tamamlanan yeşil arka plan üzerinde beyaz */
    border-color: var(--step-completed);
}

.step-label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    white-space: nowrap; /* Tek satırda kal */
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    width: 100%;
    max-width: 90px; /* Maksimum genişlik - daha küçük */
    line-height: 1.3;
}

.step-item.active .step-label {
    color: #333;
    font-weight: 600;
}

.step-item:not(.active):not(.completed) .step-label {
    color: #666;
}

.step-item.completed .step-label {
    color: #4CAF50;
}

.step-connector {
    width: 100px;
    height: 3px;
    background: var(--step-inactive);
    margin: 0 10px;
    transition: background 0.3s;
    flex-shrink: 0; /* Mobilde küçülmesin */
}

.step-item.completed ~ .step-connector {
    background: var(--step-completed);
}

/* Main Content */
.booking-main-content {
    min-height: calc(100vh - 120px);
    padding: 30px 0;
}

/* Step 2'de main content'i gizle */
body.step-2-active .booking-main-content {
    padding: 0;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
}

/* Step 3: hide marketing sections on index page */
body.step-3-active #features,
body.step-3-active .features-section {
    display: none !important;
}

/* Step 2'yi tam ekran yap */
body.step-2-active #step2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    background: #000; /* Harita arka planı siyah olsun */
}

/* Step Cards */
.step-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.step-header {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #f4b800 100%);
    color: #fff;
    padding: 25px 30px;
}

.step-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.step-form {
    padding: 30px;
}

.form-section {
    margin-bottom: 35px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* Location Input */
.location-input-wrapper {
    position: relative;
}

.location-select-btn {
    text-align: left;
    height: 60px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    color: #000 !important; /* Siyah renk - hem normal hem hover durumunda */
    display: flex;
    align-items: center;
    padding: 0 15px;
    overflow: hidden;
}

.location-select-btn:hover {
    border-color: var(--brand-primary);
    background: #fffbf0;
    color: #000 !important; /* Hover durumunda da siyah */
}

.location-select-btn i {
    flex-shrink: 0;
    margin-right: 10px;
}

.location-select-btn span {
    color: #000 !important; /* "Konum Seçiniz" yazısı siyah */
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0; /* Flexbox için önemli */
}

.location-select-btn.has-location {
    border-color: var(--brand-primary);
    background: #fffbf0;
}

/* Vehicle Condition Selection */
.vehicle-condition-container {
    min-height: 200px;
}

.vehicle-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.category-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: var(--brand-primary);
}

.category-card.category-selected {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #f4b800 100%);
    border-color: #f4b800;
    color: white;
    transform: scale(1.02);
}

.category-icon {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.category-card.category-selected .category-icon {
    color: white;
}

.category-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
}

.category-card.category-selected .category-title {
    color: white;
}

.subcategory-container {
    background: white;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    display: none;
}

.subcategory-container.show {
    display: block;
}

.subcategory-header {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #f4b800 100%);
    color: white;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.subcategory-list {
    padding: 15px;
}

.subcategory-item {
    display: flex;
    align-items: center; /* Icon ve metin ortalanmış */
    padding: 12px 15px; /* Padding biraz küçültüldü */
    margin: 8px 0;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 50px; /* Minimum yükseklik */
}

.subcategory-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.subcategory-item.subcategory-selected {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 15px rgba(253, 202, 18, 0.3);
}

.subcategory-icon {
    font-size: 22px; /* Biraz küçültüldü */
    margin-right: 12px; /* Margin küçültüldü */
    color: #4CAF50;
    flex-shrink: 0; /* Icon küçülmesin */
}

.subcategory-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Maksimum 2 satır */
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    hyphens: auto;
}

/* Step Actions */
.step-actions {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

/* STEP 2: Map View */
.step2-map-container {
    position: fixed; /* Fixed positioning for full screen */
    top: 0;
    left: 0;
    width: 100vw; /* Viewport width */
    height: 100vh; /* Viewport height */
    overflow: hidden;
    z-index: 1;
}

/* Step 2'de progress bar'ı ve header'ı gizle */
body.step-2-active .steps-progress-container {
    display: none !important;
}

body.step-2-active .main-header {
    display: none !important;
}

/* Step 3'de (scheduled booking fiyat ekranı) progress bar'ı ve header'ı gizle */
/* Step 3'te header, footer ve progress bar görünsün - tüm gizleme kuralları kaldırıldı */
/* Step 3 için sadece step3 içeriğine padding/margin ayarları - header/footer görünür kalacak */

#step2-map {
    width: 100%;
    height: 100%;
}

/* Location Info Panel (Top) */
.location-info-panel {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 600px;
    min-width: 300px;
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 100;
    display: none;
}

.location-info-panel.show {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-close-panel {
    position: static;
    background: none;
    border: none;
    font-size: 18px;
    color: #000;
    cursor: pointer;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-info-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    overflow: hidden;
}

.location-item {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-item.pickup {
    color: #10b981; /* Yeşil renk */
}

.location-item.dropoff {
    color: #ef4444; /* Kırmızı renk */
}

.location-arrow {
    color: #9ca3af; /* Gri renk */
    font-size: 18px;
    font-weight: normal;
    flex-shrink: 0;
}

/* Booking Details Panel (Bottom) */
.booking-details-panel {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%; /* Genişlik artırıldı */
    min-width: 350px; /* Minimum genişlik */
    max-width: 500px; /* Maximum genişlik */
    background: white;
    border-radius: 15px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    z-index: 100;
    max-height: calc(100vh - 120px); /* Viewport yüksekliğinden üst panel ve padding çıkar */
    height: auto; /* İçeriğe göre otomatik yükseklik */
    display: flex;
    flex-direction: column;
    overflow: visible; /* Scroll'u kaldır */
}

.booking-details-header {
    padding: 10px 14px; /* Biraz küçültüldü */
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-image {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.payment-note {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
}

.swipe-indicator {
    width: 40px; /* Küçültüldü */
    height: 3px; /* Küçültüldü */
    background: #ddd;
    border-radius: 2px;
    margin: 0 auto;
    display: none; /* Gizlendi */
}

.booking-details-content {
    padding: 10px 14px; /* Biraz küçültüldü */
    overflow: visible; /* Scroll'u kaldır */
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Gap küçültüldü */
    min-height: 0; /* Flexbox için */
}

.info-blocks {
    display: flex;
    gap: 12px;
    margin-bottom: 0; /* Gap ile spacing sağlanıyor */
    flex-shrink: 0;
}

.info-block {
    flex: 1;
    padding: 10px; /* Biraz küçültüldü */
    background: #f5f5f5; /* Açık gri arka plan */
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px; /* Biraz küçültüldü */
    border: 1px solid #e9ecef;
}

.info-icon {
    width: 36px; /* Biraz küçültüldü */
    height: 36px; /* Biraz küçültüldü */
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 16px; /* Biraz küçültüldü */
    color: #666;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 11px; /* Biraz küçültüldü */
    color: #666;
    margin-bottom: 3px; /* Biraz küçültüldü */
}

.info-block .value {
    font-size: 15px; /* Biraz küçültüldü */
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.price-button-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    margin-top: 0; /* Gap ile spacing sağlanıyor */
}

.price-section {
    flex: 1;
    text-align: left;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin: 0;
}

.price-label {
    display: none; /* Gizlendi */
}

.price-value {
    font-size: 28px; /* Biraz küçültüldü */
    font-weight: 800;
    color: #333;
    margin: 0 0 3px 0; /* Biraz küçültüldü */
    line-height: 1.2;
}

.price-note {
    font-size: 11px; /* Biraz küçültüldü */
    color: #666;
    margin: 0;
}

/* Booking Details Panel içindeki buton */
.price-button-row .btn {
    font-size: 15px; /* Biraz küçültüldü */
    padding: 12px 24px; /* Biraz küçültüldü */
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.price-button-row .btn-success {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.price-button-row .btn-success:hover {
    background: #059669;
    border-color: #059669;
}

/* STEP 3: Tracking */
#step3 {
    position: relative;
    z-index: 1; /* Header'ın altında kalması için (header z-index: 1000) */
}

.booking-tracking {
    padding: 30px;
    position: relative;
    z-index: 1; /* Header'ın altında kalması için */
}

/* Booking Info Header */
.booking-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    flex-wrap: wrap;
    gap: 15px;
}

.booking-info-left {
    display: flex;
    gap: 30px;
    flex: 1;
    flex-wrap: wrap;
}

.booking-info-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.booking-number-section,
.booking-price-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.booking-number-section i,
.booking-price-section i {
    font-size: 32px;
    color: var(--brand-primary);
}

.booking-price {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    font-family: 'Courier New', monospace;
}

.booking-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.booking-number {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    font-family: 'Courier New', monospace;
}

#cancelBookingBtn {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    min-width: 180px; /* Sabit genişlik - buton büyümesin */
    white-space: nowrap; /* Text wrap olmasın */
    text-align: center;
}

#cancelBookingBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.tracking-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1; /* Header'ın altında kalması için */
}

.tracking-step {
    display: flex;
    gap: 20px;
    position: relative;
    padding: 20px;
    padding-left: 60px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    z-index: 1; /* Header'ın altında kalması için */
}

.tracking-step:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.tracking-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    left: 15px;
    top: 20px;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tracking-step.active .tracking-icon {
    background: var(--step-active);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(253, 202, 18, 0.4);
}

.tracking-step.completed .tracking-icon {
    background: var(--step-completed);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.tracking-step.cancelled .tracking-icon {
    background: #dc3545;
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.tracking-step.cancelled .tracking-title {
    color: #dc3545;
}

.tracking-content {
    flex: 1;
}

.tracking-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.tracking-step.active .tracking-title {
    color: var(--step-active);
}

.tracking-step.completed .tracking-title {
    color: var(--step-completed);
}

.tracking-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.tracking-time {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    font-style: italic;
}

/* Location Modal */
#locationModal .modal-body {
    position: relative;
    overflow: hidden;
}

/* Fixed center pin (like rider app) */
.location-modal-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: 1000;
    pointer-events: none;
    font-size: 48px;
    color: #f44336;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.1s ease;
}

.location-modal-pin i {
    display: block;
}

.location-search-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 500px;
    width: calc(100% - 40px);
}

#location-search-input {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: none;
    border-radius: 10px;
    padding: 15px 45px 15px 20px; /* Sağ tarafta X butonu için padding */
    width: 100%;
}

/* Clear button (X) */
.location-search-clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.2s;
    opacity: 0.6;
}

.location-search-clear-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.location-search-clear-btn i {
    font-size: 14px;
    color: #333;
}

.location-search-clear-btn {
    display: none; /* Varsayılan olarak gizli */
}

.location-search-clear-btn.visible {
    display: flex; /* Sadece input'ta metin varsa göster */
}

/* Google Places Autocomplete dropdown styling */
.pac-container {
    z-index: 10000 !important;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-top: 5px;
    font-family: inherit;
}

.pac-container:after {
    content: none !important;
}

.pac-item {
    padding: 10px 15px;
    cursor: pointer;
    border-top: 1px solid #e6e6e6;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background-color: #f5f5f5;
}

.pac-item-selected {
    background-color: #e3f2fd;
}

.pac-icon {
    margin-right: 10px;
}

/* Location Modal Footer Buttons */
#locationModal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

#locationModal .modal-footer .btn {
    min-width: 140px;
    white-space: nowrap;
    flex: 0 0 auto;
}

#requestLocationBtn {
    min-width: 140px;
}

/* Mobile responsive for buttons */
@media (max-width: 576px) {
    #locationModal .modal-footer {
        flex-direction: row;
        justify-content: space-between;
    }
    
    #locationModal .modal-footer .btn {
        min-width: auto;
        flex: 1 1 auto;
        font-size: 14px;
        padding: 8px 12px;
    }
}

#requestLocationBtn:disabled {
    opacity: 0.7;
}

/* SMS Verification Modal */
#smsVerificationModal .modal-body {
    text-align: center;
}

#otp_code {
    font-size: 24px;
    letter-spacing: 5px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .steps-progress-container {
        padding: 15px 10px;
    }
    
    .steps-progress {
        gap: 5px;
        flex-wrap: nowrap; /* Alt alta geçmesin */
        justify-content: center;
        align-items: center;
    }
    
    .step-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 60px; /* Minimum genişlik */
        flex-shrink: 0; /* Küçülmesin */
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto; /* Ortala */
    }
    
    .step-connector {
        width: 40px; /* Daha küçük */
        margin: 0 3px;
        flex-shrink: 0; /* Küçülmesin */
    }
    
    .step-label {
        font-size: 10px;
        text-align: center;
        width: 100%;
        margin-top: 4px;
        white-space: nowrap; /* Tek satır */
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 60px; /* Mobilde daha küçük maksimum genişlik */
        line-height: 1.2;
    }
    
    .vehicle-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .category-card {
        min-height: 100px;
        padding: 15px;
    }
    
    /* Subcategory items - mobile optimization */
    .subcategory-item {
        padding: 10px 12px;
        min-height: auto;
    }
    
    .subcategory-icon {
        font-size: 20px;
        margin-right: 10px;
    }
    
    .subcategory-text {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .location-info-panel {
        top: 10px;
        left: 10px !important;
        right: 10px !important;
        transform: none !important;
        width: auto !important;
        max-width: none !important;
        min-width: auto !important;
        padding: 10px 12px;
    }
    
    .location-info-content {
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .location-item {
        font-size: 11px;
        max-width: 120px;
    }
    
    .location-arrow {
        font-size: 14px;
    }
    
    .btn-close-panel {
        font-size: 16px;
    }
    
    /* Location select buttons - mobile optimization */
    .location-select-btn {
        height: 55px;
        font-size: 14px;
        padding: 0 12px;
    }
    
    .location-select-btn i {
        margin-right: 8px;
        font-size: 14px;
    }
    
    .location-select-btn span {
        font-size: 14px;
        line-height: 1.3;
    }
    
    /* Booking tracking - mobile optimization */
    .booking-info-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .booking-info-left {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }
    
    .booking-info-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
}

/* Payment Modal Styles */
.payment-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#payment-iframe-container {
    position: relative;
    min-height: 500px;
}

#payment-iframe {
    width: 100%;
    min-height: 500px;
    border: none;
}

@media (max-width: 768px) {
    #payment-iframe {
        min-height: 400px;
    }
    
    .payment-loading-overlay {
        padding: 20px;
    }
    
    .booking-number-section,
    .booking-price-section {
        width: 100%;
        justify-content: center;
    }
    
    #cancelBookingBtn {
        width: 100%;
    }
    
    .tracking-step {
        padding: 15px;
        padding-left: 50px;
    }
    
    .tracking-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
        left: 10px;
        top: 15px;
    }
    
    .tracking-title {
        font-size: 16px;
    }
    
    .tracking-description {
        font-size: 13px;
    }
    
    .booking-details-panel {
        width: 90% !important; /* Mobilde daha geniş */
        min-width: auto;
        max-width: none;
        height: auto !important;
        max-height: calc(100vh - 100px) !important; /* Mobilde viewport'a sığdır */
        bottom: 10px;
        padding: 0 !important;
    }
    
    .booking-details-header {
        padding: 8px 12px !important;
    }
    
    .booking-details-content {
        overflow: visible !important;
        padding: 10px 12px !important;
    }
    
    .info-blocks {
        gap: 6px !important;
        margin-bottom: 10px !important;
    }
    
    .info-block {
        padding: 8px !important;
        gap: 8px !important;
    }
    
    .info-icon {
        width: 30px !important;
        height: 30px !important;
    }
    
    .info-icon i {
        font-size: 14px !important;
    }
    
    .info-label {
        font-size: 10px !important;
    }
    
    .info-block .value {
        font-size: 13px !important;
    }
    
    .price-button-row {
        gap: 10px !important;
    }
    
    .price-value {
        font-size: 24px !important;
    }
    
    .price-note {
        font-size: 10px !important;
    }
    
    .price-button-row .btn {
        font-size: 14px !important;
        padding: 10px 20px !important;
    }
    
    .payment-methods {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .payment-image {
        height: 20px;
    }
    
    .payment-note {
        font-size: 10px;
        margin-left: 0;
        width: 100%;
        margin-top: 4px;
    }
    
    .info-blocks {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .info-block {
        padding: 10px;
        gap: 10px;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
    }
    
    .info-icon i {
        font-size: 16px;
    }
    
    .info-label {
        font-size: 11px;
    }
    
    .info-block .value {
        font-size: 14px;
    }
    
    .price-button-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .price-section {
        text-align: center;
        width: 100%;
    }
    
    .price-value {
        font-size: 28px;
    }
    
    .price-button-row .btn {
        width: 100%;
        padding: 12px 24px;
    }
}

/* Image Upload Preview Styles */
.image-preview {
    position: relative;
    transition: all 0.3s ease;
}

.image-preview.upload-success {
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 5px;
    background-color: #d4edda;
}

.image-preview.upload-success::after {
    content: '✓ Yüklendi';
    position: absolute;
    top: 5px;
    right: 5px;
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.remove-image-btn {
    position: relative;
}

.remove-image-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

