/* ========================================
   MULTI-STEP BOOKING MODAL
   ======================================== */

.etb-multistep-modal {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
}

/* Progress Bar */
.etb-progress-bar {
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.etb-progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    position: relative;
}

.etb-progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.etb-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #94a3b8;
    transition: all 0.3s;
}

.etb-progress-step.active .etb-step-circle {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.etb-progress-step.completed .etb-step-circle {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.etb-step-label {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
}

.etb-progress-step.active .etb-step-label {
    color: #3b82f6;
}

.etb-progress-line {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.etb-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: width 0.3s ease;
}

/* Modal Body Wrapper */
.etb-modal-body-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Price Sidebar */
.etb-price-sidebar {
    width: 300px;
    background: #f8fafc;
    padding: 30px 20px;
    border-right: 1px solid #e2e8f0;
    overflow-y: auto;
}

.etb-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
}

.etb-summary-tour {
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
}

.etb-summary-tour-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.etb-summary-tour-date {
    font-size: 13px;
    color: #64748b;
}

.etb-summary-items {
    margin-bottom: 20px;
}

.etb-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    color: #475569;
}

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

.etb-summary-total {
    padding: 20px 15px;
    background: white;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.etb-summary-total-amount {
    font-size: 24px;
    color: #3b82f6;
}

/* Modal Body (Main Content) */
.etb-modal-body {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

/* Step Content */
.etb-step-content {
    display: none;
}

.etb-step-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.etb-step-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.etb-step-description {
    color: #64748b;
    margin-bottom: 30px;
}

/* Person Selector (Enhanced) */
.etb-person-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.etb-person-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.etb-person-info {
    flex: 1;
}

.etb-person-label {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.etb-person-sublabel {
    font-size: 13px;
    color: #64748b;
}

.etb-person-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.etb-qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 20px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
}

.etb-qty-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #eff6ff;
}

.etb-qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.etb-qty-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    min-width: 40px;
    text-align: center;
}

/* Location Search */
.etb-location-search, .etb-route-search {
    margin-bottom: 10px;
}

/* Transfer Type Selector */
.etb-transfer-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.etb-radio-card {
    cursor: pointer;
}

.etb-radio-card input[type="radio"] {
    display: none;
}

.etb-radio-card-content {
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.etb-radio-card:hover .etb-radio-card-content {
    border-color: #cbd5e1;
}

.etb-radio-card input[type="radio"]:checked + .etb-radio-card-content {
    border-color: #3b82f6;
    background: #eff6ff;
}

.etb-radio-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.etb-radio-label {
    font-weight: 600;
    color: #1e293b;
}

/* Form Row */
.etb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Add-ons Grid */
.etb-addons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.etb-addon-card {
    cursor: pointer;
}

.etb-addon-card input[type="checkbox"] {
    display: none;
}

.etb-addon-content {
    display: flex;
    gap: 15px;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    transition: all 0.3s;
    position: relative;
}

.etb-addon-card:hover .etb-addon-content {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.etb-addon-card input[type="checkbox"]:checked + .etb-addon-content {
    border-color: #3b82f6;
    background: #eff6ff;
}

.etb-addon-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.etb-addon-info {
    flex: 1;
}

.etb-addon-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 5px 0;
}

.etb-addon-description {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 8px 0;
}

.etb-addon-price {
    font-size: 15px;
    font-weight: 700;
    color: #3b82f6;
}

.etb-addon-type {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.etb-addon-checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.etb-addon-card input[type="checkbox"]:checked + .etb-addon-content .etb-addon-checkmark {
    display: flex;
}

/* Payment Methods Grid */
.etb-payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.etb-payment-card {
    cursor: pointer;
}

.etb-payment-card input[type="radio"] {
    display: none;
}

.etb-payment-content {
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    background: white;
    transition: all 0.3s;
    position: relative;
}

.etb-payment-card:hover .etb-payment-content {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.etb-payment-card input[type="radio"]:checked + .etb-payment-content {
    border-color: #3b82f6;
    background: #eff6ff;
}

.etb-payment-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.etb-payment-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.etb-payment-description {
    font-size: 12px;
    color: #64748b;
}

.etb-payment-checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.etb-payment-card input[type="radio"]:checked + .etb-payment-content .etb-payment-checkmark {
    display: flex;
}

/* Final Summary */
.etb-final-summary {
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-top: 30px;
}

.etb-final-summary h4 {
    margin: 0 0 15px 0;
    color: #1e293b;
}

/* Step Navigation */
.etb-step-navigation {
    display: flex;
    gap: 10px;
    padding: 20px 40px;
    border-top: 1px solid #e2e8f0;
    background: white;
}

.etb-step-navigation .etb-btn {
    flex: 1;
    padding: 14px;
    font-size: 16px;
}

/* Mobile Price Bar */
.etb-mobile-price-bar {
    display: none;
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.etb-mobile-price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #3b82f6;
}

.etb-mobile-price-label {
    font-size: 13px;
    color: #64748b;
}

/* Group Pricing Info */
.etb-group-pricing-info {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid #10b981;
    border-radius: 12px;
    margin-top: 20px;
}

.etb-group-pricing-icon {
    font-size: 32px;
}

.etb-group-pricing-text strong {
    color: #065f46;
    display: block;
    margin-bottom: 5px;
}

.etb-group-pricing-text p {
    color: #047857;
    margin: 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .etb-modal-body-wrapper {
        flex-direction: column;
    }
    
    .etb-price-sidebar {
        display: none;
    }
    
    .etb-mobile-price-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .etb-addons-grid,
    .etb-payment-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .etb-form-row {
        grid-template-columns: 1fr;
    }
    
    .etb-transfer-type-selector {
        grid-template-columns: 1fr;
    }
    
    .etb-progress-steps {
        overflow-x: auto;
    }
    
    .etb-step-label {
        font-size: 10px;
    }
    
    .etb-step-circle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .etb-modal-body,
    .etb-step-navigation {
        padding: 20px;
    }
    
    .etb-progress-bar {
        padding: 15px 20px;
    }
}

/* Trip Type Selector */
.etb-trip-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.etb-trip-type-selector .etb-radio-card {
    position: relative;
}

.etb-radio-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #10b981;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.etb-field-description {
    margin-top: 5px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Hotel Search */
#transfer-hotel {
    display: block;
    width: 100%;
}

#transfer-hotel.etb-searchable {
    display: none;
    position: absolute;
    z-index: 100;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#transfer-hotel.etb-searchable[size] {
    display: block !important;
}



/* Pricing Breakdown Panel (Simple Flow) */
.etb-pricing-breakdown {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.etb-breakdown-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-align: center;
    color: white;
}

.etb-breakdown-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
}

.etb-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.etb-breakdown-label {
    color: rgba(255, 255, 255, 0.9);
}

.etb-breakdown-row span:last-child {
    font-weight: 600;
    color: white;
}

.etb-breakdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 10px 0;
}

.etb-breakdown-total {
    font-size: 18px;
    padding-top: 10px;
}

.etb-breakdown-total span {
    color: #ffd700 !important;
}

#breakdown-extra-fee {
    color: #ffeb3b !important;
}


/* ========================================
   STICKY PRICE SUMMARY PANEL
   ======================================== */

.etb-sticky-price-panel {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    color: white;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.etb-sticky-price-panel.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(100px);
}

.etb-price-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.etb-price-panel-icon {
    font-size: 24px;
}

.etb-price-panel-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.etb-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.etb-price-label {
    color: rgba(255, 255, 255, 0.9);
}

.etb-price-value {
    font-weight: 600;
    font-size: 16px;
}

.etb-price-discount {
    background: rgba(16, 185, 129, 0.3);
    border: 2px solid #10b981;
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    text-align: center;
}

.etb-discount-badge {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}

.etb-discount-text {
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
}

.etb-discount-amount {
    font-size: 20px;
    font-weight: 700;
    color: #10b981;
    display: block;
    margin-top: 5px;
}

.etb-price-divider {
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

.etb-price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.etb-total-label {
    color: #ffd700;
}

.etb-total-value {
    color: #ffd700;
    font-size: 24px;
}

/* Mobile - hide on small screens */
@media (max-width: 1024px) {
    .etb-sticky-price-panel {
        display: none;
    }
}


/* ========================================
   TOUR IMAGE GALLERY IN MODAL
   ======================================== */

.etb-modal-tour-gallery {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8fafc;
}

.etb-gallery-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.etb-gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.etb-gallery-image.active {
    opacity: 1;
    z-index: 1;
}

.etb-gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.etb-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.etb-gallery-dot.active {
    background: white;
    width: 20px;
    border-radius: 4px;
}


/* ========================================
   ENHANCED PROGRESS BAR
   ======================================== */

.etb-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 5px;
}

.etb-progress-info::-webkit-scrollbar {
    height: 4px;
}

.etb-progress-info::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.etb-progress-info::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 2px;
}

/* On mobile, make steps smaller and scrollable */
@media (max-width: 768px) {
    .etb-progress-info {
        justify-content: flex-start;
        gap: 8px;
        padding-right: 20px;
    }
    
    .etb-step-indicator {
        flex-shrink: 0;
        min-width: 60px;
    }
}
    color: #64748b;
}

.etb-progress-percentage {
    font-weight: 600;
    color: #3b82f6;
}

.etb-progress-time {
    font-style: italic;
}

.etb-step-circle.completed {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.etb-step-circle.completed::after {
    content: '✓';
    font-weight: bold;
}

/* Animated checkmark */
@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.etb-step-circle.completed {
    animation: checkmark 0.3s ease;
}


/* ========================================
   DISCOUNT CELEBRATION BADGES
   ======================================== */

.etb-discount-celebration {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: celebrationPulse 0.5s ease;
}

@keyframes celebrationPulse {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.etb-celebration-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    animation: celebrationBounce 1s ease infinite;
}

@keyframes celebrationBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.etb-celebration-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.etb-celebration-amount {
    font-size: 32px;
    font-weight: 900;
    margin: 10px 0;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.etb-celebration-details {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 10px;
}

.etb-original-price {
    text-decoration: line-through;
    opacity: 0.7;
    margin-right: 10px;
}

.etb-new-price {
    font-weight: 700;
    font-size: 18px;
}


/* ========================================
   SMOOTH STEP TRANSITIONS
   ======================================== */

.etb-step-content {
    animation: fadeSlideIn 0.4s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.etb-step-content.sliding-out {
    animation: fadeSlideOut 0.3s ease;
}

@keyframes fadeSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

/* Button animations */
.etb-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.etb-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.etb-btn:active::before {
    width: 300px;
    height: 300px;
}

.etb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Loading spinner for transitions */
.etb-loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* ========================================
   TRUST & SECURITY ELEMENTS
   ======================================== */

.etb-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    margin: 20px 0;
}

.etb-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.etb-trust-icon {
    font-size: 20px;
}

.etb-secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
}

.etb-social-proof {
    text-align: center;
    padding: 15px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    margin: 20px 0;
}

.etb-social-proof-text {
    font-size: 14px;
    color: #92400e;
    margin: 0;
}

.etb-social-proof-number {
    font-weight: 700;
    color: #b45309;
}


/* ========================================
   URGENCY & CONVERSION ELEMENTS
   ======================================== */

.etb-urgency-banner {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: urgencyPulse 2s ease-in-out infinite;
}

@keyframes urgencyPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.etb-urgency-icon {
    font-size: 24px;
}

.etb-urgency-text {
    flex: 1;
    font-weight: 600;
}

.etb-urgency-count {
    font-size: 20px;
    font-weight: 900;
}

.etb-recent-bookings {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.etb-recent-booking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #065f46;
    animation: slideInLeft 0.5s ease;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.etb-booking-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.etb-booking-time {
    color: #059669;
    font-style: italic;
    margin-left: auto;
}


/* ========================================
   ENHANCED MOBILE OPTIMIZATION
   ======================================== */

@media (max-width: 768px) {
    .etb-modal {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        height: 100vh;
    }
    
    .etb-modal-header {
        padding: 15px 20px;
    }
    
    .etb-modal-title {
        font-size: 18px;
    }
    
    .etb-modal-subtitle {
        font-size: 13px;
    }
    
    /* Larger touch targets */
    .etb-qty-btn {
        min-width: 44px;
        min-height: 44px;
        font-size: 20px;
    }
    
    .etb-btn {
        min-height: 50px;
        font-size: 16px;
    }
    
    /* Simplified layout */
    .etb-form-row {
        flex-direction: column;
    }
    
    .etb-form-group {
        width: 100%;
    }
    
    /* Better spacing */
    .etb-step-content {
        padding: 20px;
    }
    
    /* Larger form controls */
    .etb-form-control {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Mobile-friendly payment cards */
    .etb-payment-methods-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .etb-payment-card {
        padding: 15px;
    }
    
    /* Progress bar mobile */
    .etb-progress-steps {
        gap: 10px;
    }
    
    .etb-step-label {
        font-size: 11px;
    }
    
    .etb-step-circle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    /* Trust badges stack */
    .etb-trust-badges {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Urgency banner mobile */
    .etb-urgency-banner {
        font-size: 14px;
        padding: 10px 15px;
    }
}


/* Sticky Panel Close Button */
.etb-sticky-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.etb-sticky-close:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.etb-sticky-price-panel.hidden-by-user {
    transform: translateX(350px);
    opacity: 0;
    pointer-events: none;
}


/* Better Pickup Location Selector */
.etb-location-selector {
    position: relative;
}

.etb-location-search {
    width: 100%;
    padding: 12px 16px;
    padding-left: 45px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.etb-location-search:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.etb-location-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 20px;
}

.etb-location-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: none;
}

.etb-location-dropdown.active {
    display: block;
}

.etb-location-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.etb-location-option:hover {
    background: #f8fafc;
}

.etb-location-option.selected {
    background: #eff6ff;
    color: #3b82f6;
}

.etb-location-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.etb-location-address {
    font-size: 13px;
    color: #64748b;
}


/* ========================================
   MOBILE PROGRESS BAR FIX - ENSURE SCROLLING
   ======================================== */

@media (max-width: 768px) {
    /* Progress bar container should scroll, not be fixed */
    .etb-progress-bar {
        position: relative !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .etb-progress-steps {
        min-width: fit-content !important;
        flex-wrap: nowrap !important;
    }
    
    .etb-progress-step {
        flex-shrink: 0 !important;
        min-width: 70px !important;
    }
    
    /* Modal should allow scrolling */
    .etb-booking-modal-content {
        position: relative !important;
        overflow-y: auto !important;
        max-height: 90vh !important;
    }
}

