/* The September 9/10 classic payment UI is provided by styles.css.
   Only the annual offer's small billing choice is added here. */
.checkout-annual-choice { margin-top: 16px; text-align: start; }
.checkout-annual-choice[hidden] { display: none !important; }
/* High-contrast choice: the selected period is a solid ink pill, the other
   one stays dark text on a visibly grey track. */
.checkout-annual-options { display: flex; gap: 4px; padding: 4px; border: 1px solid #c4c4c4; border-radius: 12px; background: #e9e9e9; }
.checkout-annual-options button { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 7px; flex: 1; min-width: 0; min-height: 42px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: #222; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.checkout-annual-options button[aria-pressed="false"]:hover:not(:disabled) { background: #d9d9d9; }
.checkout-annual-options button:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.checkout-annual-options button[aria-pressed="true"] { background: #111; color: #fff; font-weight: 700; box-shadow: 0 1px 2px rgba(17, 17, 17, 0.3); }
.checkout-annual-options button:disabled { cursor: wait; opacity: .6; }
.simple-pricing-price [hidden] { display: none !important; }

.checkout-annual-badge { display: inline-block; border-radius: 5px; padding: 2px 6px; background: #166534; color: #fff; font-size: 11px; font-weight: 800; line-height: 1.35; white-space: nowrap; }
.checkout-annual-options button[aria-pressed="true"] .checkout-annual-badge { background: #4ade80; color: #052e16; }

/* Phones: the yearly option keeps its price and saving on one line and the
   monthly option takes the room that is left. */
@media (max-width: 480px) {
  .checkout-annual-options button { flex: 1 1 auto; min-width: min-content; padding: 8px; }
  .checkout-annual-options button[data-checkout-billing="annual"] { flex-grow: 0; }
}
@media (max-width: 380px) {
  .checkout-annual-options button { font-size: 13px; }
}
