@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #c10f6b;
    --secondary-color: #f28042;
    --accent-color: #c10f6b;
    --accent-gradient: #c10f6b 0%, #f28042 100%;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #fef7f0;
    --bg-light: #fdf2f8;
    --border-color: #f3e8ff;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(193, 15, 107, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(193, 15, 107, 0.15), 0 2px 4px -1px rgba(242, 128, 66, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(193, 15, 107, 0.2), 0 4px 6px -2px rgba(242, 128, 66, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(193, 15, 107, 0.25), 0 10px 10px -5px rgba(242, 128, 66, 0.2);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --gradient-primary: linear-gradient(135deg, #c10f6b 0%, #f28042 100%);
    --gradient-secondary: linear-gradient(135deg, #f28042 0%, #c10f6b 100%);
    --gradient-light: linear-gradient(135deg, rgba(193, 15, 107, 0.1) 0%, rgba(242, 128, 66, 0.1) 100%);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #fdf2f8 0%, #fef7f0 50%, #f3e8ff 100%);
    min-height: 100vh;
    color: var(--text-primary);
}

/* Main Container */
.luggage-storage-booking {
    max-width: 900px;
    width: calc(100% - 2rem);
    margin: 1rem auto;
    padding: 0.75rem;
    background: var(--white);

    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.luggage-storage-booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    z-index: 1;
}

/* Header */
.booking-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.booking-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(193, 15, 107, 0.1);
}

.booking-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    background: var(--gradient-light);
    padding: 2rem;

    backdrop-filter: blur(10px);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 60%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));

    z-index: 1;
    animation: lineGlow 2s ease-in-out infinite alternate;
}

@keyframes lineGlow {
    0% { box-shadow: 0 0 5px rgba(193, 15, 107, 0.3); }
    100% { box-shadow: 0 0 15px rgba(242, 128, 66, 0.6); }
}

.step-number {
    width: 50px;
    height: 50px;

    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.step.active .step-number {
    background: var(--gradient-secondary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.step-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.step.active .step-title {
    color: var(--primary-color);
    font-weight: 700;
}

/* Form Content */
.form-content {
    background: var(--gradient-light);

    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.form-content::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: var(--gradient-primary);

    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

/* Step Content Headings */
.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 2rem;
    align-items: stretch;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

/* Responsive grid for medium screens */
@media (max-width: 1024px) {
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

/* Item Cards */
.item-card {
    background: var(--white);
    padding: 8px 5px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
}

/* Different min-heights for luggage vs locker cards */
.luggage-category .item-card {
    min-height: 250px;
}

.locker-category .item-card {
    min-height: 175px;
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-light);
    transition: left 0.5s ease;
    z-index: 0;
}

.item-card:hover::before {
    left: 0;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.item-card > * {
    position: relative;
    z-index: 1;
}

.item-info h5 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.item-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(242, 128, 66, 0.2);
}

.price-amount {
    position: relative;
}

.price-currency {
    font-size: 0.8em;
    vertical-align: super;
    font-weight: 500;    
}

.item-controls {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 0.5rem;
     margin-top: 1rem;
     padding: 0.5rem;
     align-items: end;
     justify-items: center;
     overflow: hidden;
 }

.item-controls label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    padding: 3px 1px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(193, 15, 107, 0.1);
    width: 100%;
    max-width: 110px;
}

.quantity-btn {
    width: 26px;
    height: 26px;
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 800;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(193, 15, 107, 0.15);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.quantity-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.quantity-btn:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a50d5a 100%);
    color: var(--white);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(193, 15, 107, 0.3);
    border-color: var(--primary-color);
}

.quantity-btn:hover::before {
    left: 100%;
}

.quantity-btn.clicked {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d4692e 100%);
    color: var(--white);
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(242, 128, 66, 0.4);
}

.quantity-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    background: #e9ecef;
    color: #6c757d;
    border-color: #dee2e6;
    box-shadow: none;
}

.quantity-input {
    width: 40px !important;
    height: 26px !important;
    text-align: center !important;
    border: 2px solid var(--primary-color) !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
    font-family: 'Montserrat', sans-serif !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    box-shadow: 0 2px 8px rgba(193, 15, 107, 0.1) !important;
    line-height: 1.2 !important;
    padding: 2px 1px !important;
    margin: 0 !important;
    cursor: default !important;
    flex-shrink: 0 !important;
}

.quantity-input.number-changing {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(242, 128, 66, 0.3);
    animation: numberPulse 0.3s ease-in-out;
}

@keyframes numberPulse {
     0% { transform: scale(1); }
     50% { transform: scale(1.08); }
     100% { transform: scale(1.05); }
 }
 
 /* Hide number input spinners */
 .quantity-input::-webkit-outer-spin-button,
 .quantity-input::-webkit-inner-spin-button {
     -webkit-appearance: none;
     margin: 0;
 }
 
 .quantity-input:focus {
     outline: none;
     border-color: var(--secondary-color);
     box-shadow: 0 0 0 3px rgba(242, 128, 66, 0.2), 0 2px 12px rgba(193, 15, 107, 0.15);
     background: var(--white);
     transform: scale(1.02);
 }
 


/* Removed conflicting input[type="number"] styles to prevent interference with .quantity-input */



/* Porter Service */
.porter-service {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 1rem;

    margin-top: 1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.porter-service:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Porter Checkbox Styling */
.porter-checkbox {
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid var(--primary-color);

    background: var(--white);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(193, 15, 107, 0.1);
}

.porter-checkbox:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(193, 15, 107, 0.1);
    transform: scale(1.05);
}

.porter-checkbox:checked {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(193, 15, 107, 0.2);
}

.porter-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.porter-checkbox:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(242, 128, 66, 0.3);
}

/* Porter Service Option Container */
.porter-service-option {
    background: var(--gradient-light);
    padding: 1rem;

    margin-top: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.porter-service-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(193, 15, 107, 0.1);
}

.porter-service-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
}

.porter-service-option label:hover {
    color: var(--primary-color);
}

/* Porter Service specific superscript styling */
.porter-service-option .price-currency {
    font-size: 1.3em;
    vertical-align: super;
    font-weight: 500;
    text-transform: uppercase;
}

/* Booking Categories */
.booking-category {
    margin-bottom: 3rem;
}

.booking-category h4 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);

    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-category h4::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.booking-category h4:hover::before {
    left: 100%;
}

/* Total Summary */
.total-summary {
    background: var(--white);
    border: 3px solid transparent;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-xl);
    position: relative;
    background-clip: padding-box;
}

/* Hide luggage and locker total rows */
.summary-row:has(#luggage-total),
.summary-row:has(#locker-total) {
    display: none;
}

.total-summary::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 3px;
    background: var(--gradient-primary);

    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 2px solid var(--bg-light);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.summary-row:hover {
    background: var(--gradient-light);
    padding-left: 1rem;
    padding-right: 1rem;

}

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

.summary-row.total-row {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    color: var(--white);
    margin: 1.5rem -1.5rem -1.5rem;
    padding: 1.5rem;

    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

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

/* Form Row Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row.single-column {
    grid-template-columns: 1fr;
}

/* Full width next button */
.step-navigation .btn.next-step {
    width: 100%;
}

/* 50/50 payment buttons */
.step-navigation .btn.prev-step,
.step-navigation .btn.next-step {
    flex: 1;
    max-width: none;
}

/* Add space between payment method and booking summary */
.booking-summary {
    margin-top: 100px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);

    font-size: 1rem;
    font-weight: 500;
    background: var(--white);
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

/* Modern Date Picker Styling */
.modern-datepicker {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

/* Firefox date picker styling */
.modern-datepicker::-moz-focus-inner {
    border: 0;
}

.modern-datepicker::-moz-placeholder {
    opacity: 1;
    color: var(--text-secondary);
}

/* Enhanced date picker states */
.modern-datepicker.date-focused {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.15);
    transform: translateY(-1px);
}

/* Ensure date picker is clickable */
.modern-datepicker {
    pointer-events: auto;
    user-select: none;
}

/* Better mobile support for date picker */
@media (max-width: 768px) {
    .modern-datepicker::-webkit-calendar-picker-indicator {
        width: 24px;
        height: 24px;
        padding: 8px;
        margin-right: 4px;
    }
}

.modern-datepicker:focus {
    background: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(193, 15, 107, 0.1);
    transform: translateY(-2px);
}

.modern-datepicker::-webkit-calendar-picker-indicator {
    background: var(--primary-color);
    color: var(--white);
    padding: 6px;
    cursor: pointer;
    border-radius: 3px;
    opacity: 1;
    filter: none;
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.modern-datepicker::-webkit-calendar-picker-indicator:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(193, 15, 107, 0.1);
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;

    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.step-navigation .btn {
    flex: 1;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Previous Button - 50% width */
.step-navigation .btn.prev-step {
    background: var(--gradient-secondary);
    color: var(--white);
    width: 50%;
}

.step-navigation .btn.prev-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #f28042 0%, #e06b2e 100%);
}

/* Complete Booking Button - 50% width */
.step-navigation .btn#complete-booking {
    background: var(--gradient-primary);
    color: var(--white);
    width: 50%;
}

.step-navigation .btn#complete-booking:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #c10f6b 0%, #a00d57 100%);
}

/* Payment Methods - Beautiful Checkboxes */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-option {
    background: var(--gradient-light);
    border: 2px solid var(--border-color);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.payment-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Custom Radio Button Design */
.payment-option input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.payment-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
}

.payment-option input[type="radio"]:checked + .payment-label {
    color: var(--primary-color);
    font-weight: 700;
}

/* Selected Payment Option */
.payment-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(193, 15, 107, 0.1) 0%, rgba(242, 128, 66, 0.1) 100%);
    box-shadow: 0 4px 15px rgba(193, 15, 107, 0.2);
}

/* Card Payment Form Background */
.payment-form {
    background: var(--gradient-light);
    border: 2px solid var(--primary-color);
    padding: 2rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

#stripe-payment-form {
    background: linear-gradient(135deg, rgba(193, 15, 107, 0.05) 0%, rgba(242, 128, 66, 0.05) 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(193, 15, 107, 0.1);
}

#card-element {
    background: var(--white);
    padding: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

#card-element:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(193, 15, 107, 0.1);
}

#card-errors {
    color: #d63638;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Booking Summary */
.booking-summary {
    background: var(--gradient-light);

    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid var(--primary-color);
}

.booking-summary h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.form-step {
    animation: fadeInUp 0.6s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .luggage-storage-booking {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .booking-header h2 {
        font-size: 2rem;
    }
    
    .step-indicator {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-title {
        font-size: 0.8rem;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .item-card {
        padding: 1.5rem;
    }
    
    .booking-category h4 {
        font-size: 1.4rem;
        padding: 1rem 1.5rem;
    }
    
    .total-summary {
        padding: 1.5rem;
    }
    
    /* Form rows stack on mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-navigation .btn {
        width: 100%;
    }
    
    .summary-row {
        font-size: 1rem;
    }
    
    .summary-row.total-row {
        font-size: 1.2rem;
    }
    
    .step-navigation {
        flex-direction: column;
    }
    
    .step-navigation .btn {
        max-width: none;
        width: 100%;
    }
    
    .step-navigation .btn.prev-step,
    .step-navigation .btn#complete-booking {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .luggage-storage-booking {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .booking-header h2 {
        font-size: 1.8rem;
    }
    
    .form-content {
        padding: 1.5rem;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .item-card {
        padding: 1rem;
    }
    
    .booking-category h4 {
        font-size: 1.2rem;
        padding: 0.75rem 1rem;
    }
    
    .item-controls {
         padding: 1rem 2px 0 2px;
         gap: 0.75rem;
         grid-template-columns: 1fr;
         justify-items: stretch;
     }
    
    .quantity-control {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        padding: 4px 6px;
        justify-self: center;
    }
    
    .quantity-input {
        width: 45px !important;
        height: 28px !important;
        font-size: 1rem !important;
    }
    
    .quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

/* Error States */
.error-message {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 0.5s ease;
    box-shadow: var(--shadow-lg);
}

/* Success States */
.success-message {
    background: linear-gradient(135deg, var(--success-color) 0%, #34d399 100%);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 0.5s ease;
    box-shadow: var(--shadow-lg);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 15, 107, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== BOOKING CONFIRMATION PAGE - COMPLETE REDESIGN ===== */

/* Main Confirmation Container */
.luggage-storage-confirmation {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    background: transparent;
}

/* Booking Card - Premium Design */
.booking-card {
    background: var(--white);
    border-radius: 0; /* Remove round corners */
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(193, 15, 107, 0.25), 0 0 0 1px rgba(193, 15, 107, 0.05);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px -12px rgba(193, 15, 107, 0.35), 0 0 0 1px rgba(193, 15, 107, 0.1);
}

.booking-card::before {
    display: none; /* Remove the top gradient line */
}

/* Card Header - Stunning Design */
.card-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0; /* Remove round corners */
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.card-header h2 {
    margin: 0 0 1.5rem 0;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
    color: #ffffff; /* White color for heading */
}

.booking-number {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 0; /* Remove round corners */
    display: inline-block;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.booking-number strong {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Card Content */
.card-content {
    padding: 3rem;
    background: var(--white);
    position: relative;
}

/* QR Code Section - Enhanced */
.qr-code-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(193, 15, 107, 0.03) 0%, rgba(242, 128, 66, 0.03) 100%);
    border-radius: 0; /* Remove round corners */
    border: 2px solid rgba(193, 15, 107, 0.1);
    position: relative;
    overflow: hidden;
}

.qr-code-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 15, 107, 0.05), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.qr-code-section #qr-code {
    display: inline-block;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 0; /* Remove round corners */
    box-shadow: 0 10px 25px rgba(193, 15, 107, 0.15);
    margin-bottom: 1.5rem;
    border: 3px solid rgba(193, 15, 107, 0.1);
}

.qr-code-section p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Information Sections - Premium Cards */
.customer-details,
.booking-details,
.items-details {
    margin-bottom: 2.5rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 0; /* Remove round corners */
    border: 1px solid rgba(193, 15, 107, 0.1);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(193, 15, 107, 0.08);
}

.customer-details:hover,
.booking-details:hover,
.items-details:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(193, 15, 107, 0.15);
    border-color: rgba(193, 15, 107, 0.2);
}

.customer-details::before,
.booking-details::before,
.items-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 0; /* Remove round corners */
}

.customer-details h3,
.booking-details h3,
.items-details h3 {
    margin: 0 0 2rem 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.customer-details h3::after,
.booking-details h3::after,
.items-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 0; /* Remove round corners */
}

.customer-details p,
.booking-details p {
    margin: 1rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.customer-details strong,
.booking-details strong {
    color: var(--primary-color);
    font-weight: 600;
    min-width: 140px;
    display: inline-block;
}

/* Status Badge - Enhanced */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0; /* Remove round corners */
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.status-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.status-badge:hover::before {
    left: 100%;
}

.status-pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--white);
}

.status-completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
}

.status-failed {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
}

/* Booking Items Table - Premium Design */
.booking-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: var(--white);
    border-radius: 0; /* Remove round corners */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(193, 15, 107, 0.1);
    border: 1px solid rgba(193, 15, 107, 0.1);
}

.booking-items-table thead {
    background: var(--gradient-primary);
    color: var(--white);
}

.booking-items-table th {
    padding: 1.5rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.booking-items-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(193, 15, 107, 0.1);
    font-size: 1.05rem;
    color: var(--text-primary);
}

.booking-items-table tbody tr {
    transition: all 0.3s ease;
    position: relative;
}

.booking-items-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(193, 15, 107, 0.02) 0%, rgba(242, 128, 66, 0.02) 100%);
    transform: scale(1.01);
}

.booking-items-table tbody tr:last-child td {
    border-bottom: none;
}

/* Total Summary - Luxury Design */
.total-summary {
    background: var(--white);
    border-radius: 0; /* Remove round corners */
    padding: 3rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(193, 15, 107, 0.1);
    box-shadow: 0 15px 35px rgba(193, 15, 107, 0.15);
}

.total-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.total-summary::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(193, 15, 107, 0.01) 0%, rgba(242, 128, 66, 0.01) 100%);
    z-index: -1;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(193, 15, 107, 0.1);
    transition: all 0.3s ease;
}

.summary-row:hover {
    padding-left: 1rem;
    color: var(--primary-color);
}

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

.summary-row span:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.summary-row span:last-child {
    font-weight: 700;
    color: var(--primary-color);
}

.total-row span {
    color: #ffffff !important; /* White color for both label and price */
}

.total-row {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff !important; /* White color for Final Total */
    padding: 2rem 0 0 0;
    border-top: 3px solid var(--primary-color);
    margin-top: 1.5rem;
    background: linear-gradient(135deg, rgba(193, 15, 107, 0.8) 0%, rgba(242, 128, 66, 0.8) 100%);
    border-radius: 0; /* Remove round corners */
    padding: 1.5rem;
}

.total-row * {
    color: #ffffff !important; /* Ensure all text in Final Total section is white */
}

/* Action Buttons - Premium Style */
.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.action-buttons .btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0; /* Remove round corners */
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 220px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.action-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.action-buttons .btn:hover::before {
    left: 100%;
}

.action-buttons .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.action-buttons .btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.action-buttons .btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: var(--white);
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

.luggage-storage-confirmation * {
    animation: fadeInUp 0.8s ease-out;
}

.luggage-storage-confirmation .booking-card {
    animation-delay: 0.2s;
}

.luggage-storage-confirmation .customer-details {
    animation-delay: 0.4s;
}

.luggage-storage-confirmation .booking-details {
    animation-delay: 0.6s;
}

.luggage-storage-confirmation .items-details {
    animation-delay: 0.8s;
}

.luggage-storage-confirmation .total-summary {
    animation-delay: 1s;
}

.luggage-storage-confirmation .action-buttons {
    animation-delay: 1.2s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .luggage-storage-confirmation {
        margin: 1.5rem;
        padding: 1rem;
    }
    
    .card-header {
        padding: 2rem 1.5rem;
    }
    
    .card-header h2 {
        font-size: 2.2rem;
    }
    
    .card-content {
        padding: 2rem;
    }
    
    .customer-details,
    .booking-details,
    .items-details {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .total-summary {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 320px;
        min-width: auto;
    }
    
    .booking-items-table {
        font-size: 0.9rem;
    }
    
    .booking-items-table th,
    .booking-items-table td {
        padding: 1rem 0.75rem;
    }
    
    .summary-row {
        font-size: 1.1rem;
    }
    
    .total-row {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .luggage-storage-confirmation {
        margin: 1rem;
        padding: 0.5rem;
    }
    
    .card-header h2 {
        font-size: 1.8rem;
    }
    
    .booking-number {
        padding: 0.75rem 1.5rem;
    }
    
    .booking-number strong {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .customer-details h3,
    .booking-details h3,
    .items-details h3 {
        font-size: 1.5rem;
    }
    
    .customer-details,
    .booking-details,
    .items-details {
        padding: 1.5rem;
    }
    
    .total-summary {
        padding: 1.5rem;
    }
    
    .booking-items-table {
        font-size: 0.85rem;
    }
    
    .booking-items-table th,
    .booking-items-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .action-buttons .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .action-buttons {
        display: none;
    }
    
    .booking-card {
        box-shadow: none;
        border: 2px solid var(--primary-color);
    }
    
    .card-header {
        background: var(--primary-color) !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
}