.Delivery {
  font-size: 16px;
}

.OrderMethodStep {
  padding: 20px 24px 10px 24px;
}

.Delivery .Addresses .title-function {
  margin: 16px auto;
}
.Delivery .delivery-minorder{
  font-size: 0.8rem;
}
.Delivery .header {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: start;
  line-height: 1em;
  margin-bottom: 15px;
}

.Delivery .deliveryIcon {
  width: 100px;
  margin-right: 15px;
}

.Delivery .heading {
  font-weight: 700;
  color: #3C6142;
  line-height: 18px;
  margin-bottom: 7px;
  font-size: 19px;
}

.Delivery .heading.semibold {
  font-weight: 600;
}

.Delivery .copy {
  font-size: 14px;
  color: #5F5F5F;
  line-height: 18px;
  margin-bottom: 7px;
}

.Delivery .copy.small {
  font-size: 12px;
  color: #5F5F5F;
  line-height: 1.3em;
}

.Delivery .or {
  font-style: italic;
  margin-bottom: 15px;
}

.Delivery .Input {
  width: 100%;
  border-radius: 10px;
  height: 55px;
}

.Delivery .Button {
  height: 55px;
}

.Delivery .Input::placeholder {
  font-size: 16px;
  font-style: italic;
  color: #3C6142;
  text-align: center;
}

.Delivery .info {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #3C6142;
  padding: 0px;
}

.Delivery .GglocationsSelect {
  max-width: unset;
  width: 100%;
  margin: 0;
}

.Delivery .GglocationsSelect .Select {
  border-radius: 10px;
}

.Delivery .Button.btn-primary {
  border-radius: 10px;
  width: 100%;
}

.Delivery .Button.disabled {
  background-color:  #969696;
  border-color:  #969696;
}

.Delivery .add-address {
  color: #0392AB;
  font-size: 16px;
  margin: 12px 12px 24px 20px;
}

.Delivery .add-address span {
  text-decoration: underline;
}

.Delivery .add-address-text {
  margin-right: 5px;
}

/* ============================================
   Add Address Page Styles
   Matches Home page Pickup.css + Next.css patterns
   Uses CSS custom properties (--tmo-online-*)
   ============================================ */

/* Page body — same padding as .Pickup */
.AddAddressPage .AddAddressBody {
  padding: 20px 24px 20px 24px;
}

/* Title */
.AddAddressPage .FormTitle {
  font-size: 19px;
  font-weight: 700;
  text-align: left;
  margin: 0 0 15px 0;
}

/* Input method selector — matches DineInOptionSelectWrapper card style */
.AddAddressPage .InputMethodSelector {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 20px 0;
}

.AddAddressPage .InputMethodOption {
  position: relative;
  width: 31%;
  border: 1px solid var(--tmo-online-btn-text, #212121);
  background: var(--tmo-online-btn-bg, #fff);
  color: var(--tmo-online-btn-text, #212121);
  margin-bottom: 10px;
  cursor: pointer;
  padding: 14px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.AddAddressPage .InputMethodOption input[type="radio"] {
  display: none;
}

.AddAddressPage .InputMethodOption.selected {
  background: var(--tmo-online-selected-bg, #333);
  color: var(--tmo-online-selected-text, #fff);
  border-color: var(--tmo-online-selected-bg, #333);
}

/* Form sections — same spacing as Pickup steps */
.AddAddressPage .FormSection {
  margin: 0 0 10px 0;
}

.AddAddressPage .FormGroup {
  margin: 0 0 15px 0;
}

/* Labels — same as step-text font size */
.AddAddressPage .FormLabel {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--tmo-online-text-primary, #333);
}

.AddAddressPage .FormLabel .required {
  color: var(--tmo-online-text-danger, red);
}

/* Input fields — matches GglocationsSelect / cart form_register style */
.AddAddressPage .FormInput {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 400;
  border: 1px solid var(--tmo-online-btn-text, #212121);
  border-radius: 0px;
  background: var(--tmo-online-btn-bg, #fff);
  color: var(--tmo-online-btn-text, #212121);
  box-sizing: border-box;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.AddAddressPage .FormInput:focus {
  border-color: var(--tmo-online-selected-bg, #0392AB);
}

.AddAddressPage .FormInput[readonly] {
  background: var(--tmo-online-bg-surface-2nd, #f0f0f0);
  color: var(--tmo-online-text-secondary, #555);
}

.AddAddressPage .FormInput::placeholder {
  color: var(--tmo-online-text-secondary, #999);
  font-style: italic;
}

/* Postal code result */
.AddAddressPage .PostalCodeResult {
  font-size: 14px;
  padding: 8px 0;
  font-weight: bold;
  color: var(--tmo-online-text-success, green);
}

/* Error message */
.AddAddressPage .FormError {
  color: var(--tmo-online-text-danger, red);
  font-size: 13px;
  margin-top: 4px;
}

/* Label selector — matches select-dinein-option style */
.AddAddressPage .LabelSelector {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  margin: 8px 0 15px 0;
}

.AddAddressPage .LabelOption {
  padding: 10px 16px;
  border: 1px solid var(--tmo-online-btn-text, #212121);
  border-radius: 0px;
  background: var(--tmo-online-btn-bg, #fff);
  color: var(--tmo-online-btn-text, #212121);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-right: -1px;
}

.AddAddressPage .LabelOption.selected {
  background: var(--tmo-online-selected-bg, #333);
  color: var(--tmo-online-selected-text, #fff);
  border-color: var(--tmo-online-selected-bg, #333);
}

/* ActionButton — inherits from Next.css, dynamic colors applied via JS */
.AddAddressPage .ActionButton {
  margin: 20px 0 10px 0;
}

/* Spinner */
.AddAddressPage .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--tmo-online-divider, #ccc);
  border-top: 2px solid var(--tmo-online-text-primary, #333);
  border-radius: 50%;
  animation: aa-spin 0.8s linear infinite;
}

@keyframes aa-spin {
  to { transform: rotate(360deg); }
}
