/* Billanz Skin: Default */

/* Period switcher — centered, pill buttons. */
.billanz-period-switcher {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.75rem;
}
.billanz-period-switcher__btn {
    padding: 0.55em 1.2em; border: 1px solid #e5e7eb; border-radius: 10px;
    background: #fff; color: #374151; font-weight: 600; cursor: pointer;
}
.billanz-period-switcher__btn:hover { border-color: #cbd0da; }
.billanz-period-switcher__btn.is-active { background: #4f46e5; color: #fff; border-color: #4f46e5; }

/* Currency switcher — matches the period switcher. */
.billanz-currency-switcher__btn {
    padding: 0.45em 0.9em; border: 1px solid #e5e7eb; border-radius: 10px;
    background: #fff; color: #374151; font-weight: 600; opacity: 1;
}
.billanz-currency-switcher__btn:hover { border-color: #cbd0da; }
.billanz-currency-switcher__btn.is-active { background: #4f46e5; color: #fff; border-color: #4f46e5; }
.billanz-currency-switcher__select {
    padding: 0.45em 0.6em; border: 1px solid #e5e7eb; border-radius: 10px;
    background: #fff; color: #374151; font-weight: 600;
}

/* Card. */
.billanz-card {
    background: #fff; color: #1f2937;
    border: 1px solid #e5e7eb; border-radius: 16px; padding: 2rem 1.5rem;
    text-align: center; height: 100%; box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}
.billanz-card :where(h1, h2, h3, h4) { color: #111827; font-weight: 700; margin: 0 0 1rem; }

/* Price. */
.billanz-price__amount { font-size: 2.4rem; font-weight: 800; color: #111827; letter-spacing: -0.02em; }
.billanz-price__cycle { color: #6b7280; font-size: 0.9rem; }
.billanz-price__renewal,
.billanz-price__setup,
.billanz-price__tax { color: #6b7280; font-size: 0.8rem; }

/* Feature list. */
.billanz-card__feature {
    margin: 0; padding: 0.7rem 0; color: #374151; font-size: 0.95rem;
    border-top: 1px solid #f0f1f4;
}

/* Buy button — centered, sized to content. */
.billanz-buy-group { display: flex; justify-content: center; margin-top: 1.5rem; }
.billanz-buy {
    display: inline-block; padding: 0.8em 1.8em; border-radius: 10px;
    background: #4f46e5; color: #fff; text-decoration: none; font-weight: 700;
}
.billanz-buy:hover { background: #4338ca; }
.billanz-buy--disabled { background: transparent; border: 1px dashed #d1d5db; color: #9ca3af; }
.billanz-price__stock { background: #f3f4f6; color: #6b7280; }

/* Featured card + best-seller badge. */
.billanz-card.featured {
    position: relative; border: 2px solid #4f46e5; box-shadow: 0 12px 30px rgba(79, 70, 229, 0.18);
}
.billanz-card__badge {
    position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
    margin: 0; background: #4f46e5; color: #fff; padding: 0.3em 1em; border-radius: 999px;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
    text-transform: uppercase; white-space: nowrap;
}

/* Coupon block — kept in sync with the price-table look. */
.billanz-coupon__input { padding: 0.6em 0.8em; border: 1px solid #e5e7eb; border-radius: 10px; }
.billanz-coupon__button {
    padding: 0.6em 1.4em; border: 0; border-radius: 10px; background: #4f46e5; color: #fff;
    font-weight: 700; cursor: pointer;
}
.billanz-coupon__remove { background: none; border: 0; color: #6b7280; font-size: 0.85rem; cursor: pointer; }
.billanz-coupon__message { font-size: 0.85rem; color: #6b7280; }
.billanz-coupon.is-active .billanz-coupon__message { color: #4f46e5; }

/* Comparison table — indigo, on a card-like panel. */
.billanz-comparison {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
    padding: 2rem; box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}
.billanz-comparison__head { border-bottom: 2px solid #e5e7eb; padding-bottom: 1rem; }
.billanz-comparison__plan h3 { margin: 0 0 0.75rem; color: #111827; font-weight: 700; }
.billanz-comparison__plan--featured h3 { color: #4f46e5; }
.billanz-comparison__row { border-top: 1px solid #f0f1f4; }
.billanz-comparison__row .wp-block-column { padding: 0.7rem 0; }
.billanz-comparison__feature { font-weight: 600; color: #1f2937; }
.billanz-comparison__cell { color: #374151; }
.billanz-comparison__head + .billanz-comparison__row { border-top: 0; }
.billanz-comparison__row:hover { background: #fafbff; }
.billanz-comparison .billanz-price__amount { font-size: 1.6rem; }
.billanz-comparison .billanz-buy { padding: 0.5em 1.15em; font-size: 0.9rem; }
.billanz-comparison__feature { background: #fff; } /* sticky column surface */

/* Domain price table — indigo accents on white, matching the catalog tables. */
.billanz-tld-table__heading { font-weight: 700; color: #111827; margin: 0 0 1rem; }
.billanz-tld-table__filter {
    padding: 0.55em 0.8em; border: 1px solid #e5e7eb; border-radius: 10px;
    background: #fff; color: #374151;
}
.billanz-tld-table__filter:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15); }
.billanz-tld-table__caption { color: #6b7280; font-size: 0.85rem; margin-bottom: 0.75rem; }
/* Box on the scroll container, not the table: a table with overflow:hidden
   becomes its own scroll context and breaks the sticky header. */
.billanz-tld-table__scroll { border: 1px solid #e5e7eb; border-radius: 12px; }
.billanz-tld-table__table thead th {
    background: #f9fafb; color: #374151; font-weight: 700; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.03em; padding: 0.8rem 1rem; border-bottom: 2px solid #e5e7eb;
}
.billanz-tld-table__table td { padding: 0.7rem 1rem; color: #374151; border-top: 1px solid #f0f1f4; }
.billanz-tld-table__ext { font-weight: 700; color: #111827; }
.billanz-tld-table__table tbody tr:hover { background: #fafbff; }
.billanz-tld-table__empty,
.billanz-tld-table__noresults { color: #6b7280; font-style: italic; }
.billanz-tld-table__original { color: #9ca3af; }
.billanz-tld-table__amount.is-discounted { color: #dc2626; font-weight: 700; }
.billanz-tld-table__badge { background: #dc2626; color: #fff; }
.billanz-tld-table__loader { color: #6b7280; font-size: 0.9rem; }

/* Auth nav — greeting sits with the menu; links inherit the theme's nav style. */
.billanz-user-name { font-weight: 600; color: #111827; }
.billanz-user-name__value { font-weight: 700; }

/* Domain search — white pill; register uses the skin accent, transfer is a dark
   neutral. (Reference is green/black; adapted to this skin's indigo accent.) */
.billanz-domain-search__form {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 999px;
    padding: 0.3rem 0.3rem 0.3rem 0.4rem; box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}
.billanz-domain-search__input { border: 0; background: transparent; color: #1f2937; padding: 0.6em 0.9em; }
.billanz-domain-search__input::placeholder { color: #9ca3af; }
.billanz-domain-search__input:focus { outline: none; }
.billanz-domain-search__ext { border: 0; background: transparent; color: #374151; font-weight: 600; cursor: pointer; padding: 0.6em 0.5em; }
.billanz-domain-search__btn { border: 0; border-radius: 999px; padding: 0.6em 1.4em; font-weight: 700; }
.billanz-domain-search__btn--register { background: #4f46e5; color: #fff; }
.billanz-domain-search__btn--register:hover { background: #4338ca; }
.billanz-domain-search__btn--transfer { background: #111827; color: #fff; margin-right: 0.35rem; }
.billanz-domain-search__btn--transfer:hover { background: #1f2937; }
.billanz-domain-search__note { color: #6b7280; font-size: 0.85rem; margin-top: 0.6rem; }
.billanz-domain-search__notice { color: #9ca3af; font-style: italic; }
/* Tom Select TLD combobox — the control blends into the pill; the dropdown is a card. */
.billanz-domain-search .ts-control {
    border: 0; background: transparent; box-shadow: none; min-height: auto;
    padding: 0.6em 0.7em; color: #374151; font-weight: 600;
}
.billanz-domain-search .ts-control input { color: #374151; }
.billanz-domain-search .ts-wrapper.focus .ts-control { box-shadow: none; }
.billanz-domain-search .ts-dropdown {
    border: 1px solid #e5e7eb; border-radius: 12px; background: #fff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.12); margin-top: 0.35rem; overflow: hidden;
}
.billanz-domain-search .ts-dropdown .option { padding: 0.5em 0.8em; color: #374151; }
.billanz-domain-search .ts-dropdown .option.active { background: #4f46e5; color: #fff; }

.billanz-price__original { font-size: 1.2rem; font-weight: 600; color: #9ca3af; }
.billanz-price__row.is-discounted .billanz-price__amount { color: #dc2626; }
