/* ============================================================
   WP Billing Data — Base Styles
   Minimal on purpose — you apply your own theme classes via
   the class="" attribute on every shortcode.
   ============================================================ */

/* Default button — override with class="your-btn" */
.wpbd-btn {
    display: inline-block;
    padding: .5em 1.4em;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 1em;
    background: var(--wpbd-accent, #0073aa);
    color: #fff;
    transition: opacity .15s ease;
}
.wpbd-btn:hover { opacity: .85; text-decoration: none; color: #fff; }

/* Price elements */
.wpbd-price { display: inline-block; }
.wpbd-na    { opacity: .5; }

/* Domain prices */
.wpbd-domain-register,
.wpbd-domain-renew,
.wpbd-domain-transfer { display: inline-block; }

/* Features list — minimal, theme styles apply */
.wpbd-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wpbd-features li {
    padding: .3em 0;
    border-bottom: 1px solid rgba(0,0,0,.07);
}
.wpbd-features li:last-child { border-bottom: none; }

/* Features table */
.wpbd-features-table { width: 100%; border-collapse: collapse; }
.wpbd-features-table td { padding: .35em .5em; border-bottom: 1px solid rgba(0,0,0,.07); }
.wpbd-feat-key { font-weight: 600; width: 50%; }

/* Currency switcher */
.wpbd-cs { display: inline-block; }
.wpbd-cs__sel {
    padding: .3em .6em;
    border-radius: 4px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

/* Cycle toggle */
.wpbd-toggle { display: inline-flex; gap: .3em; flex-wrap: wrap; }
.wpbd-toggle__btn {
    padding: .35em .9em;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 20px;
    background: transparent;
    font: inherit;
    font-size: .9em;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.wpbd-toggle__btn--active,
.wpbd-toggle__btn:hover {
    background: var(--wpbd-accent, #0073aa);
    color: #fff;
    border-color: var(--wpbd-accent, #0073aa);
}

/* Domain search widget */
.wpbd-search { margin: .5em 0; }
.wpbd-search__bar { display: flex; gap: .4em; flex-wrap: wrap; }
.wpbd-search__input {
    flex: 1;
    min-width: 180px;
    padding: .55em .9em;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 4px;
    font: inherit;
    font-size: 1em;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.wpbd-search__input:focus {
    border-color: var(--wpbd-accent, #0073aa);
    box-shadow: 0 0 0 3px rgba(0,115,170,.15);
}

/* Search results */
.wpbd-search__results { margin-top: .75em; }
.wpbd-search__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75em;
    padding: .55em .5em;
    border-bottom: 1px solid rgba(0,0,0,.08);
    font-size: .95em;
}
.wpbd-search__row:last-child { border-bottom: none; }
.wpbd-search__tld    { font-weight: 700; }
.wpbd-search__price  { font-weight: 600; color: var(--wpbd-accent, #0073aa); }
.wpbd-search__na     { opacity: .5; }
.wpbd-search__msg    { padding: .5em; opacity: .65; font-style: italic; }

/* Price update animation */
@keyframes wpbd-fade { from { opacity:.3 } to { opacity:1 } }
.wpbd-updating { animation: wpbd-fade .25s ease forwards; }

/* Admin-only error hints */
.wpbd-error { color: red; font-size: .82em; }
