.wheelsys-reservation-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;

  & span,
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0;
  }

  & .vehicle-info {
    width: 100%;
    border-radius: 14px;
    background: linear-gradient(180deg, #ecf0f3 0%, white 100%);
  }

  & .wheelsys-vehicle-image {
    width: fit-content;
    margin-inline: auto;
  }
}


body {
  margin: 0;
  padding: 0;
  background-color: #FCFCFC;
}

* {
  box-sizing: border-box;
}

.wheelsys-input {
  background-color: rgba(255, 242, 242, 1);
  border-radius: 999px;
  padding: 0.5rem 0.325rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.wheelsys-input_button {
  cursor: pointer;
  outline: none;
  background-color: var(--wheelsys-primary-color);
  color: white;
  padding: 5px;
  border-radius: 999px;
  border: none;
  aspect-ratio: 1/1;
  height: 1.625rem;
  width: 1.625rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.wheelsys-input_checkbox {
  box-sizing: border-box;
  border: 1px solid rgba(242, 242, 242, 1);
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: transparent;
  margin: 0 !important;
}

.wheelsys-input_checkbox:hover {
  border-color: var(--wheelsys-primary-color);
}

.peer:checked+.wheelsys-input_checkbox {
  background-color: var(--wheelsys-primary-color);
  border-color: var(--wheelsys-primary-color);
  color: white;
}

.wheelsys-addon-item {
  transition: border-color 0.2s ease-in-out;
}

.wheelsys-addon-item.is-selected {
  border-color: var(--wheelsys-primary-color) !important;
}


.wheelsys-checkout-wrapper {
  max-width: 1320px;
  margin: 0 auto;
}

.woocommerce-notices-wrapper {
  max-width: 1320px;
  margin: 0 auto;
}

.wheelsys-checkout-title {
  border-bottom: 1px solid rgba(225, 225, 225, 1);
  padding-block: 1.625rem;
  padding-inline: 1.625rem;
  letter-spacing: 0.01px;
}

.wheelsys-checkout-title-wrapper {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  font-size: 1.375rem;
}

.wheelsys-select-woocommerce .select2-container .select2-selection--single {
  border-radius: 14px !important;
  border-color: rgba(216, 218, 220, 1) !important;
  display: flex !important;
  align-items: center !important;
}

.wheelsys-select-woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  line-height: normal !important;
  color: inherit !important;
}

.wheelsys-select-woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  right: 1rem !important;
}

.select2-dropdown {
  border-color: rgba(216, 218, 220, 1) !important;
  border-radius: 0 0 14px 14px;
  overflow: hidden !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

#wheelsys-place-order {
  cursor: pointer;
  color: white;
  border-radius: 48px;
  width: 100%;
  box-shadow: 0px 2px 50px 0px rgba(25, 33, 61, 0.02);
  font-weight: 700;
  font-size: 1.125rem;
  padding-block: 1.125rem;
  outline: none;
  border: none;
  background-color: var(--wheelsys-primary-color);
}

/* Coupon Section Styles */
.wheelsys-coupon-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  /* text-gray-500 */
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 0.5rem;
}

.wheelsys-coupon-wrapper {
  position: relative;
  width: 100%;
}

.wheelsys-input-group {
  position: relative;
  width: 100%;
}

.wheelsys-coupon-input {
  width: 100%;
  background-color: white;
  border: 1px solid rgba(209, 213, 219, 1);
  /* border-gray-300 */
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  /* Pill shape */
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  padding-right: 6rem;
  /* Space for button */
}

.wheelsys-coupon-input:focus {
  border-color: var(--wheelsys-primary-color);
  box-shadow: 0 0 0 1px var(--wheelsys-primary-color);
}

.wheelsys-coupon-input::placeholder {
  color: #9ca3af;
  /* placeholder-gray-400 */
}

.wheelsys-apply-coupon-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--wheelsys-primary-color);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s, opacity 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.wheelsys-apply-coupon-btn:hover {
  filter: brightness(90%);
}

.wheelsys-apply-coupon-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.wheelsys-coupon-message {
  font-size: 0.875rem;
  margin-top: 0.75rem;
  margin-left: 0.5rem;
  font-weight: 500;
}

.wheelsys-coupon-message.hidden {
  display: none;
}

.wheelsys-coupon-message.text-red-600 {
  color: #dc2626;
}

.wheelsys-coupon-message.text-green-600 {
  color: #16a34a;
}


/* Applied Coupons */
.wheelsys-applied-coupons-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.wheelsys-coupon-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(239, 52, 63, 0.05);
  /* very light primary */
  border: 1px solid rgba(239, 52, 63, 0.2);
  padding: 0.375rem 0.5rem 0.375rem 1rem;
  border-radius: 999px;
  color: #b91c1c;
  /* darker red text */
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.wheelsys-remove-coupon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: rgba(239, 52, 63, 0.6);
  border-radius: 50%;
  transition: all 0.2s;
  width: 24px;
  height: 24px;
}

.wheelsys-remove-coupon-btn:hover {
  background-color: rgba(239, 52, 63, 0.1);
  color: var(--wheelsys-primary-color);
}

/* Price Display Styles */
.wheelsys-price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  transform: translateZ(0);
  /* Fix for scrolling artifacts */
  -webkit-font-smoothing: antialiased;
}

.wheelsys-new-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  outline: none !important;
  border: none !important;
  text-decoration: none !important;
}

.wheelsys-old-price {
  font-size: 0.875rem;
  text-decoration: line-through;
  color: #9ca3af;
  /* text-gray-400 equivalent */
  margin-right: 0.25rem;
  outline: none !important;
  border: none !important;
}

/* Reset potentially conflicting elements from Theme/WC */
.wheelsys-price-container ins,
.wheelsys-price-container del,
.wheelsys-price-container span {
  background: transparent !important;
  text-decoration-color: currentColor;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.wheelsys-old-price {
  font-size: 0.875rem;
  text-decoration: line-through;
  color: #9ca3af;
  /* text-gray-400 equivalent */
  margin-right: 0.25rem;
  outline: none !important;
  border: none !important;
}

/* Checkout Summary Styles */
.wheelsys-summary-total-container {
  display: flex;
  flex-direction: column;
}

.wheelsys-summary-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  /* text-gray equivalent */
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.wheelsys-summary-amount-wrapper {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.375rem;
  /* ~ gap-1.5 */
}

.wheelsys-summary-main-price {
  font-weight: 700;
}

.wheelsys-summary-amount {
  font-size: 1.5rem;
  /* text-2xl */
  font-weight: 700;
  line-height: 1;
}

.wheelsys-summary-daily-rate {
  color: #9ca3af;
  /* text-gray */
  font-weight: 500;
  font-size: 0.875rem;
  /* text-sm */
}

/* Price Loader Styles */
@keyframes wheelsys-shimmer {
  0% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.6;
  }
}

.wheelsys-price-loading {
  animation: wheelsys-shimmer 1s infinite ease-in-out;
  opacity: 0.5;
  filter: blur(5px);
  pointer-events: none;
  cursor: wait;
  transition: filter 0.2s ease;
}