/* BuyVerse – Forms Base (created to satisfy enqueue reference)
   Keeps forms readable and prevents white-on-white.
*/
.bv-form,
.bv-login,
.bv-wizard,
.bv-panel,
.bv-card,
form {
    color: #111;
}

input,
select,
textarea {
    color: #111;
    background: #fff;
    border: 1px solid #ccc;
}

label {
    color: #111;
}

::placeholder {
    color: rgba(0, 0, 0, .5);
}

button,
.button,
.bv-btn {
    cursor: pointer;
}

/* Player Hub layout */
.bv-ph-wrap {
    max-width: 1100px;
    margin: 22px auto;
    padding: 0 14px 40px;
}

.bv-ph-hero {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
}

.bv-ph-hero h1 {
    margin: 0;
    font-size: 38px;
    letter-spacing: .5px;
}

.bv-muted {
    opacity: .78;
}

.bv-ph-hero__stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.bv-stat {
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    padding: 10px 12px;
    min-width: 140px;
}

.bv-stat__label {
    font-size: 12px;
    opacity: .75;
}

.bv-stat__value {
    font-size: 18px;
    font-weight: 800;
    margin-top: 4px;
}

.bv-alert {
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 12px 14px;
    margin: 10px 0 16px;
}

.bv-alert--success {
    border-color: rgba(0, 255, 180, .25);
}

.bv-ph-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.55fr .9fr;
    gap: 14px;
}

@media (max-width: 980px) {
    .bv-ph-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .bv-ph-hero__stats {
        justify-content: flex-start;
    }

    .bv-ph-grid {
        grid-template-columns: 1fr;
    }
}

.bv-card {
    background: rgba(0, 0, 0, .42);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    padding: 14px;
    backdrop-filter: blur(10px);
}

.bv-card__title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 900;
}

.bv-kv__row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.bv-kv__row:last-child {
    border-bottom: 0;
}

.bv-kv__k {
    opacity: .75;
}

.bv-kv__v {
    font-weight: 700;
}

.bv-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.bv-actions--stack {
    flex-direction: column;
}

.bv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.bv-btn:hover {
    background: rgba(255, 255, 255, .10);
}

.bv-btn--primary {
    background: rgba(0, 210, 255, .35);
    border-color: rgba(0, 210, 255, .35);
}

.bv-btn--ghost {
    background: transparent;
}

.bv-form label {
    font-weight: 800;
    display: block;
    margin-bottom: 6px;
}

.bv-form input,
.bv-form select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .35);
    color: #fff;
    outline: none;
}

.bv-form input[type="range"] {
    padding: 0;
    height: 28px;
}

.bv-field--check label {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
    margin-top: 8px;
}

.bv-field--check input {
    width: auto;
}

.bv-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 680px) {
    .bv-form-grid {
        grid-template-columns: 1fr;
    }
}

.bv-sep {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .10);
    margin: 14px 0;
}

/* =========================================
   BV FORMS – readable on dark theme
========================================= */

.bv-form-wrap,
.bv-store-listing,
.bv-store-card,
.bv-apply-card,
.bv-application-card {
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    padding: 16px;
    color: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
}

/* Headings */
.bv-form-wrap h1,
.bv-form-wrap h2,
.bv-form-wrap h3,
.bv-store-listing h2 {
    color: #00f5ff;
    text-shadow: 0 0 10px rgba(0, 245, 255, .22);
}

/* Labels + helper text */
.bv-form-wrap label,
.bv-form-wrap .bv-help,
.bv-form-wrap p {
    color: rgba(255, 255, 255, .86);
}

/* Inputs/selects/textarea */
.bv-form-wrap input[type="text"],
.bv-form-wrap input[type="email"],
.bv-form-wrap input[type="number"],
.bv-form-wrap input[type="tel"],
.bv-form-wrap textarea,
.bv-form-wrap select {
    width: 100%;
    background: rgba(0, 0, 0, .55);
    color: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    padding: 10px 12px;
}

/* Dropdown options on Windows/Chrome */
.bv-form-wrap select option {
    color: #111;
}

/* Buttons */
.bv-form-wrap .bv-btn,
.bv-store-card .bv-btn,
.bv-apply-card .bv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
}

.bv-form-wrap .bv-btn-primary {
    border-color: rgba(0, 245, 255, .35);
    background: rgba(0, 245, 255, .12);
}

/* Store cards grid */
.bv-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.bv-store-card {
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    padding: 12px;
}

.bv-mall-card {
    background: rgba(0, 0, 0, .45);
}

/* ================================
   CHARACTER PREVIEW (v0.1.2)
================================ */

.bv-character-preview {
    position: relative;
    border-radius: 18px;
    padding: 18px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bv-preview-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 245, 255, 0.12);
    border: 1px solid rgba(0, 245, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
}

/* Avatar base */
.bv-avatar {
    position: relative;
    width: 140px;
    height: 180px;
    transform: translateY(6px);
}

/* Parts */
.bv-avatar-head {
    position: absolute;
    top: 16px;
    left: 50%;
    width: 70px;
    height: 70px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: var(--bv-skin, #caa37a);
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.35);
}

.bv-avatar-hair {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 78px;
    height: 40px;
    transform: translateX(-50%);
    border-radius: 999px 999px 16px 16px;
    background: var(--bv-hair, #111);
    opacity: 0.95;
}

.bv-avatar-body {
    position: absolute;
    top: 76px;
    left: 50%;
    width: 92px;
    height: 96px;
    transform: translateX(-50%);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.bv-avatar-outfit {
    position: absolute;
    top: 74px;
    left: 50%;
    width: 104px;
    height: 110px;
    transform: translateX(-50%);
    border-radius: 26px;
    background: var(--bv-outfit, rgba(0, 245, 255, 0.18));
    border: 1px solid rgba(0, 245, 255, 0.22);
    box-shadow: 0 0 24px rgba(0, 245, 255, 0.12);
}

/* BODY presets (size/shape) */
.bv-character-preview[data-body="classic"] .bv-avatar {
    width: 140px;
}

.bv-character-preview[data-body="athletic"] .bv-avatar {
    width: 150px;
}

.bv-character-preview[data-body="heavy"] .bv-avatar {
    width: 160px;
}

.bv-character-preview[data-body="athletic"] .bv-avatar-body {
    width: 88px;
}

.bv-character-preview[data-body="heavy"] .bv-avatar-body {
    width: 104px;
}

/* SKIN tones */
.bv-character-preview[data-skin="tone_1"] {
    --bv-skin: #f1d0b5;
}

.bv-character-preview[data-skin="tone_2"] {
    --bv-skin: #dfb08a;
}

.bv-character-preview[data-skin="tone_3"] {
    --bv-skin: #c58f64;
}

.bv-character-preview[data-skin="tone_4"] {
    --bv-skin: #a86f4c;
}

.bv-character-preview[data-skin="tone_5"] {
    --bv-skin: #7a4a33;
}

/* HAIR presets */
.bv-character-preview[data-hair="hair_1"] {
    --bv-hair: #111;
}

.bv-character-preview[data-hair="hair_2"] {
    --bv-hair: #2a1a12;
}

.bv-character-preview[data-hair="hair_3"] {
    --bv-hair: #e6e6e6;
}

/* OUTFIT presets */
.bv-character-preview[data-outfit="starter"] {
    --bv-outfit: rgba(0, 245, 255, 0.16);
}

.bv-character-preview[data-outfit="street"] {
    --bv-outfit: rgba(255, 255, 255, 0.12);
}

.bv-character-preview[data-outfit="formal"] {
    --bv-outfit: rgba(0, 0, 0, 0.30);
}