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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, Roboto, Helvetica, sans-serif;
    background: #FFF;
    color: #000;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #D9D9D9;
    height: 74px;
    padding: 0 20px;
}

.site-title {
    font-size: 28px;
    font-weight: 400;
    line-height: normal;
}

.cart-button {
    position: absolute;
    right: 39px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-button svg {
    width: 32px;
    height: 32px;
}

.cart-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #000;
    color: #FFF;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 12px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #D9D9D9; /* subtle ring against header bg */
}

/* Home button mirrors cart button but on the left */
.home-button {
    position: absolute;
    left: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-button svg {
    width: 32px;
    height: 32px;
}

.hero-section {
    padding: 0;
    margin-top: -100px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10vh;
}

.hero-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background: #D9D9D9;
    margin: 0;
    z-index: 0;
}

.booking-section {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.booking-form {
    position: relative;
    width: 100%;
    max-width: 1037px;
    height: 86px;
    background: #FFF;
    border-radius: 115px;
    box-shadow: 0 11px 16.3px -10px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    padding: 20px 91px;
}

.booking-fields {
    display: flex;
    align-items: center;
    gap: 53px;
    flex: 1;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    position: relative; /* allow overlay inputs */
}

.booking-field.clickable { cursor: pointer; }

.city-dropdown {
    position: relative;
    width: 100%;
    max-width: 1037px;
    max-height: 0;
    overflow: hidden;
    background: #FFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    margin-top: 15px;
}

.city-dropdown.active {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
}

.city-dropdown-header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid #E0E0E0;
}

.city-dropdown-title {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.city-search-container {
    padding: 20px 30px;
}

.city-search-input {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #D0D0D0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', -apple-system, Roboto, Helvetica, sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
}

.city-search-input:focus {
    border-color: #000;
}

.city-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 0 30px 30px;
}

.city-card {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #FFF;
    border: 1px solid #E8E8E8;
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.city-card-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.city-card-name {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.duration-input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    background: #FFF;
    transition: border-color 0.2s;
}

.duration-input:focus {
    outline: none;
    border-color: #000;
}

.duration-input::placeholder {
    color: #999;
    font-weight: 400;
}

.duration-dropdown {
    position: relative;
    width: 100%;
    max-width: 1037px;
    max-height: 0;
    overflow: hidden;
    background: #FFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    margin-top: 15px;
}

.duration-dropdown.active {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
}

.duration-slider-container {
    padding: 30px 40px;
}

.duration-slider-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}

#duration-value {
    color: #000;
    font-size: 24px;
    font-weight: 700;
}

.duration-slider {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: linear-gradient(to right, #000 0%, #000 var(--value, 0%), #E0E0E0 var(--value, 0%), #E0E0E0 100%);
    outline: none;
    -webkit-appearance: none;
    margin: 15px 0;
}

.duration-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.duration-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.duration-marks {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

.visually-hidden-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    border: 0;
    background: transparent;
    pointer-events: auto;
    cursor: pointer;
    z-index: 2;
}

/* Enhanced Date & Time Picker Styling */
input[type="date"],
input[type="time"] {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
}

/* Calendar icon styling for date picker */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Modern calendar dropdown styling */
input[type="date"]::-webkit-datetime-edit,
input[type="time"]::-webkit-datetime-edit {
    padding: 0;
    font-family: 'Inter', sans-serif;
}

input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="time"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

input[type="date"]::-webkit-datetime-edit-text,
input[type="time"]::-webkit-datetime-edit-text {
    color: #000;
    padding: 0 2px;
}

input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field,
input[type="time"]::-webkit-datetime-edit-hour-field,
input[type="time"]::-webkit-datetime-edit-minute-field,
input[type="time"]::-webkit-datetime-edit-ampm-field {
    padding: 2px 4px;
    border-radius: 4px;
    color: #000;
    font-weight: 500;
}

input[type="date"]::-webkit-datetime-edit-month-field:focus,
input[type="date"]::-webkit-datetime-edit-day-field:focus,
input[type="date"]::-webkit-datetime-edit-year-field:focus,
input[type="time"]::-webkit-datetime-edit-hour-field:focus,
input[type="time"]::-webkit-datetime-edit-minute-field:focus,
input[type="time"]::-webkit-datetime-edit-ampm-field:focus {
    background: #f0f0f0;
    outline: none;
}

/* Clear button styling */
input[type="date"]::-webkit-clear-button,
input[type="time"]::-webkit-clear-button {
    display: none;
}

/* Inner spin button for time picker */
input[type="time"]::-webkit-inner-spin-button {
    display: none;
}

.field-label {
    font-size: 17px;
    font-weight: 500;
    line-height: normal;
    color: #000;
}

.field-hint {
    font-size: 12px;
    font-weight: 300;
    line-height: normal;
    color: #A6A6A6;
}

.field-divider {
    width: 1px;
    height: 46px;
    background: #A5A5A5;
}

.submit-button {
    position: absolute;
    right: 12px;
    width: 62px;
    height: 62px;
    background: #000;
    border: none;
    border-radius: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.bikes-section {
    padding: 0 78px 121px;
}

.section-title {
    font-size: 30px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 50px;
}

/* Cart Page Styles */
.cart-section {
    padding: 60px 78px 120px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.cart-item {
    display: grid;
    grid-template-columns: 220px 1fr 230px;
    gap: 40px;
    padding: 25px 30px;
    border: 1px solid #000;
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0 6px 18px -8px rgba(0,0,0,0.25);
}

.cart-item-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.cart-item-image {
    width: 240px;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #D0D0D0;
    background: #F8F8F8;
}

.cart-item-name {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-registration {
    font-size: 17px;
    color: #666;
    font-weight: 400;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.cart-item-middle {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    gap: 22px 28px;
    align-content: start;
}

.rider-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.rider-field label {
    font-size: 13px;
    font-weight: 500;
}

.rider-field input {
    height: 42px;
    padding: 0 14px;
    border: 1px solid #C6C6C6;
    border-radius: 10px;
    background: #FFF;
    font-family: 'Inter', -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 14px;
}

.rider-field input:focus { outline: 2px solid #000; }

.cart-item-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: space-between;
}

.price-breakup {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #000;
    border-radius: 16px;
    padding: 16px 18px;
    background: #FFF;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.price-row.total {
    font-weight: 600;
    font-size: 16px;
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid #E0E0E0;
}

/* Hours adjust controls inside cart price box */
.hours-adjust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hours-adjust .hours-decrement,
.hours-adjust .hours-increment {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #000;
    background: #FFF;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
}

.hours-adjust .hours-decrement:hover,
.hours-adjust .hours-increment:hover {
    background: #000;
    color: #FFF;
}

.hours-adjust .hours-display {
    width: 36px;
    height: 28px;
    text-align: center;
    border: 1px solid #C6C6C6;
    border-radius: 8px;
    font-family: 'Inter', -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 14px;
}

.helmet-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.helmet-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000;
}

.helmet-checkbox span {
    user-select: none;
}

.remove-item-button {
    align-self: flex-start;
    background: #000;
    color: #FFF;
    border: none;
    border-radius: 40px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.remove-item-button:hover { opacity: 0.85; }

.cart-actions { text-align: center; }

.btn {
    font-family: 'Inter', -apple-system, Roboto, Helvetica, sans-serif;
    cursor: pointer;
    border: none;
    border-radius: 48px;
    padding: 16px 34px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.25s ease, transform 0.15s ease;
}

.btn-primary { background: #000; color: #FFF; border-radius: 8px; margin-top: 12px;}
.btn-primary:hover { background: #222; }
.btn-primary:active { transform: scale(0.96); }

@media (max-width: 1050px) {
  .cart-item { grid-template-columns: 200px 1fr; }
  .cart-item-right { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; }
  .price-breakup { flex: 1; }
}

@media (max-width: 760px) {
  .cart-item { 
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
  }
  .cart-item-left { 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .cart-item-image { 
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  .cart-item-info {
    width: 100%;
    align-items: center;
  }
  .cart-item-name {
    font-size: 16px;
    text-align: center;
  }
  .cart-item-registration {
    font-size: 14px;
    text-align: center;
  }
  .cart-item-middle { 
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }
  .rider-field input {
    height: 38px;
    font-size: 13px;
  }
  .cart-item-right { 
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    gap: 12px;
    width: 100%;
  }
  .helmet-checkbox {
    width: 100%;
    grid-column: unset;
    grid-row: unset;
  }
  .price-breakup {
    padding: 14px;
    width: 100%;
    grid-column: unset;
    grid-row: unset;
  }
  .remove-item-button {
    width: 100%;
    margin-top: 8px;
    align-self: center;
    text-align: center;
    grid-column: unset;
    grid-row: unset;
    justify-self: unset;
  }
  .remove-button {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 425px) {
  .cart-section {
    padding: 40px 16px 80px;
  }
  
  .cart-item {
    padding: 16px 12px;
    gap: 16px;
  }
  
  .section-title {
    font-size: 22px;
    margin-bottom: 24px;
  }
}

.bikes-grid {
    display: flex;
    gap: 60px;
    overflow-x: auto;
    padding-bottom: 20px;
    align-items: flex-start;
}

.bike-card {
    position: relative;
    width: 355px;
    min-width: 355px;
    background: #FFF;
    border: 1px solid #E0E0E0;
    border-radius: 17px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
}

.bike-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    padding: 20px 20px 10px 20px;
}

.bike-name {
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    margin: 0 16px 12px 16px;
    color: #000;
}

.bike-footer {
    display: flex;
    padding: 16px 20px;
    border-top: 1px solid #F0F0F0;
}

.bike-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    flex: 1;
}

.bike-price > div {
    text-align: center;
}

.rupee-symbol {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.price-duration {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    white-space: nowrap;
    text-align: center;
}

.bike-confirm-button {
    background: #FFD700;
    border: none;
    border-radius: 4px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 12px;
    width: 100%;
    transition: all 0.2s ease;
}

.bike-confirm-button:hover {
    background: #FFF;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.bike-confirm-button:active {
    transform: translateY(0);
}

.bike-confirm-button:disabled {
    background: #E0E0E0;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.booking-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.booking-label {
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    margin-left: 19px;
}

.hours-control {
    display: flex;
    align-items: center;
    gap: 7px;
}

.decrement-button,
.increment-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours-input {
    width: 20px;
    height: 20px;
    border: 0.5px solid #000;
    border-radius: 5px;
    background: #FFF;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', -apple-system, Roboto, Helvetica, sans-serif;
    appearance: textfield;
    -moz-appearance: textfield;
    outline: none;
}

.hours-input::-webkit-inner-spin-button,
.hours-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.decrement-button,
.increment-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.decrement-button:hover,
.increment-button:hover {
    transform: scale(1.1);
}

.decrement-button:active,
.increment-button:active {
    transform: scale(0.9);
}

.rates-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    height: 27px;
}

.rates-title {
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

.rate-text {
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

.bike-confirm-button {
    height: 45px;
    background: #000;
    border: none;
    border-radius: 12px;
    color: #FFF;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bike-card.sold-out {
    height: 340px;
}

.plan-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 217px;
    height: 26px;
    border: 0.5px solid #000;
    border-radius: 5px;
    background: #FFF;
    padding: 0 19px;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 500;
}

.select-plan-text {
    font-size: 13px;
    font-weight: 500;
    margin: 8px 0 0 19px;
}

.sold-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(217, 217, 217, 0.05);
    backdrop-filter: blur(1.5px);
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sold-out-text {
    color: #F00;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
}

.main-footer {
    background: #000;
    padding: 59px 78px 71px;
}

.footer-content {
    display: flex;
    gap: 0;
}

.footer-section {
    flex: 1;
    position: relative;
    padding: 0 60px;
}

.footer-section:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #FFF;
}

.contact-section {
    max-width: none;
    padding-left: 0;
}

.policies-section {
    max-width: none;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
}

.footer-logo-section::after {
    display: none;
}

.footer-heading {
    font-size: 20px;
    font-weight: 500;
    color: #FFF;
    margin-bottom: 15px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #FFF;
    font-size: 15px;
    font-weight: 500;
}

.contact-item svg {
    flex-shrink: 0;
}

.whatsapp-link {
    color: #FFF;
    text-decoration: underline;
}

.policy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.policy-list a {
    color: #FFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 23px;
    margin-top: 18px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login Page Styles */
.login-section {
    padding: 160px 20px 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 74px - 200px);
}

/* Login Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: #F5F5F5;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.modal-close:hover {
    background: #E0E0E0;
    color: #000;
}

.auth-icon-button {
    opacity: 1;
}

.auth-icon-button:hover {
    opacity: 0.7;
}

.auth-icon-button.logout {
    transform: scaleX(-1);
}

.auth-container {
    width: 100%;
    max-width: 480px;
    background: #FFF;
    border: 1px solid #000;
    border-radius: 24px;
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #E0E0E0;
    background: #F8F8F8;
}

.auth-tab {
    flex: 1;
    padding: 18px 24px;
    background: transparent;
    border: none;
    font-family: 'Inter', -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.auth-tab.active {
    color: #000;
    background: #FFF;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #000;
}

.auth-form {
    padding: 40px 36px;
}

.auth-form.hidden {
    display: none;
}

.auth-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.auth-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    font-family: 'Inter', -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 15px;
    color: #000;
    background: #FFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
    color: #A6A6A6;
}

/* OTP Input Boxes */
.otp-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px auto;
    max-width: 400px;
}

.otp-box {
    width: 55px;
    height: 60px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    border: 1.5px solid #E5E7EB;
    border-radius: 14px;
    background: #F9FAFB;
    color: #000;
    transition: all 0.3s ease;
    caret-color: #000;
}

.otp-box:focus {
    outline: none;
    border-color: #000;
    background: #FFF;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
    transform: scale(1.05);
}

.otp-box:not(:placeholder-shown) {
    border-color: #000;
    background: #FFF;
}

.otp-box::placeholder {
    color: #D1D5DB;
}

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper .form-input {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #000;
}

.toggle-password .eye-icon {
    width: 20px;
    height: 20px;
}

.auth-submit-btn {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #FFF;
    border: none;
    border-radius: 48px;
    font-family: 'Inter', -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
    margin-top: 8px;
}

.auth-submit-btn:hover {
    background: #222;
}

.auth-submit-btn:active {
    transform: scale(0.98);
}

.auth-switch {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 24px;
}

.auth-link {
    color: #000;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #000;
    transition: opacity 0.2s ease;
}

.auth-link:hover {
    opacity: 0.7;
}

@media (max-width: 1200px) {
    .bikes-grid {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: auto;
    }

    .site-title {
        font-size: 22px;
    }

    .cart-button {
        right: auto;
    }

    .cart-button svg {
        width: 32px;
        height: 32px;
    }

    .hero-section {
        flex-direction: column;
        padding: 0;
        margin-top: 0;
        min-height: auto;
        align-items: center;
        padding-bottom: 0;
    }

    .hero-placeholder {
        position: relative;
        height: auto;
        min-height: 60vh;
        aspect-ratio: 16 / 9;
    }

    .booking-section {
        position: relative;
        padding: 20px;
        margin-top: -50px;
        z-index: 10;
        width: 100%;
    }

    .booking-form {
        flex-direction: column;
        height: auto;
        border-radius: 20px;
        padding: 20px;
        margin-top: 0;
    }

    .booking-fields {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .booking-field {
        padding: 15px 0;
        border-bottom: 1px solid #E0E0E0;
        text-align: center;
    }

    .booking-field:first-child .field-label,
    .booking-field:first-child .field-hint {
        text-align: center;
    }

    .booking-field:last-child {
        border-bottom: none;
    }

    .field-divider {
        display: none;
    }

    .submit-button {
        position: static;
        width: 100%;
        height: 50px;
        border-radius: 25px;
        margin-top: 10px;
    }

    .bikes-section {
        padding: 0 20px 60px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .bikes-grid {
        gap: 20px;
    }

    .main-footer {
        padding: 40px 30px 30px;
    }

    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        align-items: flex-start;
        width: 100%;
    }
    
    .footer-section {
        display: block !important;
        width: 100% !important;
        flex: none !important;
        padding: 0 !important;
        margin-bottom: 30px;
        position: relative;
    }
    
    .footer-section::after {
        display: none;
    }

    .contact-section,
    .policies-section,
    .social-section {
        max-width: 100%;
        padding: 0;
        order: initial;
    }
    
    .footer-heading {
        margin-left: 20px;
        margin-bottom: 12px;
        font-size: 18px;
    }
    
    .contact-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-left: 40px;
    }
    
    .contact-item {
        font-size: 14px;
        gap: 12px;
    }
    
    .contact-item svg {
        width: 20px;
        height: 20px;
    }
    
    .policy-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-left: 40px;
    }
    
    .policy-list a {
        font-size: 14px;
    }
    
    .social-icons {
        display: flex;
        margin-top: 12px;
        padding-left: 40px;
        gap: 18px;
    }
    
    .social-icons svg {
        width: 28px;
        height: 28px;
    }
    
    .footer-logo-section {
        display: flex !important;
        width: 100% !important;
        padding: 0 !important;
        margin-top: 20px;
        margin-bottom: 0;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-top: none;
        order: 10;
        justify-content: center !important;
        align-items: center !important;
        text-align: center;
    }
    
    .footer-logo-section img {
        max-width: 200px;
        height: auto;
        margin: 0 auto;
    }
}

/* Loading Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== New Enhanced Sections ===== */

/* Container for consistent width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2%;
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
    color: #000;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 48px;
    color: #666;
}

/* ===== Features Section ===== */
.features-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

.feature-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* ===== How It Works Section ===== */
.how-it-works-section {
    padding: 80px 0;
    background: #fff;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 48px;
}

.step-card {
    background: #f8f8f8;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: #ececec;
    transform: scale(1.05);
}

.step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

.step-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.step-arrow {
    font-size: 32px;
    font-weight: 600;
    color: #000;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 60px 0;
    background: #000;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.stat-label {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.testimonial-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: #000;
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    color: #000;
    font-size: 15px;
}

.author-location {
    font-size: 13px;
    color: #666;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 2px solid #e0e0e0;
    padding: 24px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    user-select: none;
}

.faq-question:hover {
    color: #555;
}

.faq-icon {
    font-size: 28px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 16px;
}

/* ===== Dashboard Stats Section ===== */
.dashboard-stats-section {
    padding: 60px 0 40px;
    background: #f8f8f8;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.dashboard-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.dashboard-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-card-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.dashboard-card-value {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.dashboard-card-change {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
}

.dashboard-card-change.positive {
    color: #2e7d32;
}

.dashboard-card-change.negative {
    color: #c62828;
}

.dashboard-card-change .change-label {
    color: #999;
    font-weight: 400;
}

/* ===== Enhanced Cart Styles ===== */
.cart-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    margin-top: 32px;
}

.cart-items-container {
    background: #fff;
}

.cart-summary-sidebar {
    background: #f8f8f8;
    padding: 32px;
    border-radius: 16px;
    height: fit-content;
    position: sticky;
    top: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.summary-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #000;
}

.summary-section {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.summary-label {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.summary-value {
    font-size: 16px;
    color: #000;
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.summary-total .total-label {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.summary-total .total-value {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.btn-outline {
    background: transparent;
    color: #000;
    border: 2px solid #000;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

.trust-badges {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #666;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    .cart-content-wrapper {
        grid-template-columns: 1fr;
    }

    .cart-summary-sidebar {
        position: static;
    }

    .steps-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
        font-size: 24px;
    }
    
    .step-card {
        width: 100%;
        max-width: 500px;
    }
    
    /* Cart item layout for 1024px */
    .cart-item {
        grid-template-columns: 220px 1fr;
        gap: 20px 30px;
    }
    
    .cart-item-left {
        grid-column: 1;
        grid-row: 1;
    }
    
    .cart-item-middle {
        grid-column: 2;
        grid-row: 1;
    }
    
    .cart-item-right {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: 220px 1fr;
        grid-template-rows: auto auto;
        gap: 20px 30px;
        align-items: start;
    }
    
    .helmet-checkbox {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        align-self: start;
    }
    
    .price-breakup {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        width: 100%;
    }
    
    .remove-item-button {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        align-self: end;
        margin: 0;
    }
    
    /* Keep footer in desktop layout for 1024px */
    .main-footer {
        padding: 40px 40px;
    }
    
    .footer-content {
        display: flex;
        flex-direction: row;
        gap: 0;
    }
    
    .footer-section {
        flex: 1;
        padding: 0 30px;
    }
    
    .footer-logo-section {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .cart-content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 600px;
        margin: 32px auto 0;
    }

    .cart-items-container {
        width: 100%;
    }

    .cart-summary-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 36px;
    }

    .dashboard-card-value {
        font-size: 24px;
    }

    .cart-summary-sidebar {
        padding: 24px;
    }

    .summary-total .total-value {
        font-size: 24px;
    }
}

