.text-sm {
    font-size: 10px;
}
html, body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

.p-2 {
    padding-bottom: 12px;
}

@media (min-width: 1024px) {
    .p-2 {
        padding-bottom: 50px;
    }
    .mb-9 {
        width: 512px;
        max-width: 512px;
    }
}

.pt-16 {
    padding-top: 2rem;
}

.text-5xl {
    font-size: 30px;
}

.mb-9 {
    font-size: 15px;
    margin-bottom: 1rem;
    color: #797979;
}

.animation {
    animation-name: example;
    animation-duration: 4s;
    animation-iteration-count: infinite
}

@keyframes example {
    from {
        background-color: #62a9ff;
    }

    to {
        background-color: #fff18fd1;
    }
}

div.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.text-danger {
    color: red;
    font-weight: bold;
}

.p-16 {
    padding: 0rem;
}

.py-32 {
padding-top: 0rem;

}

#checkbox_size {
    width: 26px;
    height: 26px;
    float: left;
    margin-right: 5px;
}

.w-4 {
    width: 24px;
}

.h-4 {
    height: 24px;
}

.py-32 {
    padding-top: 4rem;
    padding-bottom: 0rem;
}

/* Reset list style */
ul {
    list-style-type: none;
    padding-left: 0;
}

/* Add padding to list items */
li {
    padding-left: 1.5em;
    position: relative;
    font-size: 16px;
}

/* Add checkmark before each list item */
li::before {
    content: "✓";  /* Unicode for a checkmark */
    position: absolute;
    left: 0;
    color: green;  /* Color of the checkmark */
    font-weight: bold;  /* Make the checkmark bold */
}

/* Style for the button */
.shimmer-button {
    background-color: #007BFF;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    border: none;
    position: relative;
    overflow: hidden;
}

/* Shimmer effect */
.shimmer-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2s infinite;
}

/* Keyframe for the shimmer animation */
@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

#bullet_points {
    padding: 11px;
    font-size: 15px;
}


/* Address modal tweaks */
#addressModal .modal-card {
    padding: 28px;
    position: relative;
    z-index: 2;
}
#addressModal .modal-card h3 { margin-bottom: 14px; }
#addressModal .modal-card p { margin-bottom: 22px; }
#addressModal .modal-card label { margin-bottom: 18px; display:block; }
#addressModal .modal-card button { padding-top: 16px; padding-bottom: 16px; }
#addressModal .modal-card #btnIncludeAddress { margin-bottom: 14px; }
/* Make the "No Thanks" button shorter and slightly wider */
#addressModal #btnSkipAddress { padding-top: 8px; padding-bottom: 8px; padding-left: 14px; padding-right: 14px; }
@media (max-width: 640px) {
    #addressModal .modal-card {
        padding: 32px;
    }
    #addressModal .dialog-mobile-bg {
        background: rgba(255,255,255,0.98);
    }
}

#addressModal .backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 0;
}
#addressModal .dialog-container {
    position: relative;
    z-index: 1;
}

/* Force light color-scheme while modal is open to prevent dark mode UI */
html.addr-modal-open, body.addr-modal-open { color-scheme: light !important; }

/* While modal is open, force ultra-light hover/selection for suggestions,
   including menus rendered outside the element (Chrome/Thorium). */
body.addr-modal-open .mdc-list-item:hover,
body.addr-modal-open .mdc-list-item--selected,
body.addr-modal-open .mdc-list-item--activated,
body.addr-modal-open [role="option"][aria-selected="true"],
body.addr-modal-open [role="option"]:hover,
body.addr-modal-open .pac-item:hover,
body.addr-modal-open .pac-item-selected {
    background: #fbfdff !important;
    color: #111827 !important;
}
body.addr-modal-open .mdc-list-item .mdc-list-item__ripple,
body.addr-modal-open .mdc-deprecated-list-item__ripple,
body.addr-modal-open .mdc-ripple-surface::before,
body.addr-modal-open .mdc-ripple-surface::after,
body.addr-modal-open .mdc-list-item.mdc-ripple-upgraded::before,
body.addr-modal-open .mdc-list-item.mdc-ripple-upgraded::after {
    background: #fbfdff !important;
    opacity: 0.06 !important;
}

/* Force light theme for Google PlaceAutocompleteElement */
#addressModal gmp-place-autocomplete {
    background: #ffffff !important;
    color: #111827 !important; /* gray-900 */
    display: block;
    font-size: 16px !important; /* prevent iOS zoom */
    color-scheme: light !important; /* disable dark adaptation */
    /* Common theming vars used by Google components */
    --mdc-theme-surface: #ffffff;
    --mdc-theme-on-surface: #111827;
    --mdc-theme-text-primary-on-surface: #111827;
    --mdc-outlined-text-field-input-text-color: #111827;
    --mdc-filled-text-field-input-text-color: #111827;
    --mdc-filled-text-field-caret-color: #111827;
    --mdc-outlined-text-field-caret-color: #111827;
    --mdc-filled-text-field-label-text-color: #6b7280; /* placeholder */
    --mdc-outlined-text-field-label-text-color: #6b7280;
    --gm3-sys-color-surface: #ffffff;
    --gm3-sys-color-on-surface: #111827;
    --gm-ac-surface-color: #ffffff;
    --gm-ac-text-color: #111827;
    /* Try to influence hover/selected colors if supported */
    --gm-ac-hover-color: #f8fafc; /* ultra light gray */
}
/* Try to style exposed parts for text color/placeholder explicitly */
#addressModal gmp-place-autocomplete::part(input),
#addressModal gmp-place-autocomplete::part(text-field),
#addressModal gmp-place-autocomplete::part(textfield),
#addressModal gmp-place-autocomplete::part(field),
#addressModal gmp-place-autocomplete::part(control),
#addressModal gmp-place-autocomplete::part(base) {
    color: #111827 !important;
    background: #ffffff !important;
    font-size: 16px !important; /* prevent iOS zoom */
}
#addressModal gmp-place-autocomplete::part(input)::placeholder {
    color: #6b7280 !important; /* gray-500 */
}


/* Mobile: override Tailwind .p-8 padding for tighter layout */
@media (max-width: 767px) {
    .p-8 {
        padding-top: 0rem !important;
        padding-right: 1rem !important;
        padding-bottom: 1rem !important;
        padding-left: 1rem !important;
    }
    .py-12 {
        padding-top: 0rem !important;
        padding-bottom: 1rem !important;
    }
    .py-1 {
        padding-top: 0.4rem !important;
        padding-bottom: 0.4rem !important;
    }
    .mb-6 {
        margin-top: 27px !important;
    }
}

/* Disclaimer text consistency */
#consentText { font-size: 13px; line-height: 1.4; }
#consentText .text-xs { font-size: 12px; }
@media (max-width: 767px) {
    #consentText { font-size: 13px; line-height: 1.45; }
    #consentText .text-xs { font-size: 12px; }
}

@media (min-width: 768px) {
    .md\:max-w-sm {
        max-width: 32rem;
    }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
