/* Hold Page — TBB design language: red/white/blue, glassmorphism, 55+ */

.bbi-hold-wrap {
    max-width: 640px;
    margin: 40px auto;
    padding: 0 16px 60px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Unit card ─────────────────────────────────────────────────────────────── */
.bbi-hold-unit-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(11,36,71,0.08);
}

.bbi-hold-unit-photo {
    flex: 0 0 180px;
}

.bbi-hold-unit-photo img {
    width: 180px;
    height: 140px;
    object-fit: cover;
    display: block;
}

.bbi-hold-unit-meta {
    padding: 18px 20px 18px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.bbi-hold-unit-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b2447;
    margin: 0;
    line-height: 1.3;
}

.bbi-hold-unit-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #c0392b;
    margin: 0;
}

.bbi-hold-view-link {
    font-size: 0.85rem;
    color: #0b2447;
    text-decoration: underline;
    margin-top: 4px;
}

/* ── Form box ──────────────────────────────────────────────────────────────── */
.bbi-hold-form-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 4px 24px rgba(11,36,71,0.10);
}

.bbi-hold-form-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0b2447;
    margin: 0 0 10px;
}

.bbi-hold-form-header p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 28px;
}

/* ── Fields ────────────────────────────────────────────────────────────────── */
.bbi-hold-field {
    margin-bottom: 20px;
}

.bbi-hold-field label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b2447;
    margin-bottom: 6px;
}

.bbi-hold-field label span {
    color: #c0392b;
    margin-left: 2px;
}

.bbi-hold-optional {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.85rem;
}

.bbi-hold-field input,
.bbi-hold-field select {
    width: 100%;
    padding: 13px 16px;
    font-size: 1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e293b;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.bbi-hold-field input:focus,
.bbi-hold-field select:focus {
    border-color: #0b2447;
    box-shadow: 0 0 0 3px rgba(11,36,71,0.12);
    background: #fff;
}

/* ── Error ─────────────────────────────────────────────────────────────────── */
.bbi-hold-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    color: #991b1b;
    font-size: 0.9rem;
    padding: 10px 14px;
    margin-bottom: 16px;
    display: none;
}

.bbi-hold-error:not(:empty) {
    display: block;
}

/* ── Submit ────────────────────────────────────────────────────────────────── */
.bbi-hold-submit {
    width: 100%;
    padding: 16px;
    background: #c0392b;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    letter-spacing: 0.02em;
}

.bbi-hold-submit:hover {
    background: #a93226;
}

.bbi-hold-submit:active {
    transform: scale(0.98);
}

.bbi-hold-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* ── Fine print ────────────────────────────────────────────────────────────── */
.bbi-hold-fine-print {
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 14px;
    line-height: 1.5;
}

.bbi-hold-fine-print a {
    color: #64748b;
}

/* ── Success state ─────────────────────────────────────────────────────────── */
.bbi-hold-success {
    text-align: center;
    padding: 40px 20px;
}

.bbi-hold-success-icon {
    width: 64px;
    height: 64px;
    background: #0b2447;
    color: #fff;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.bbi-hold-success h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0b2447;
    margin: 0 0 12px;
}

.bbi-hold-success p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.bbi-hold-success a {
    color: #c0392b;
    font-weight: 600;
}

/* ── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 520px) {
    .bbi-hold-form-box {
        padding: 24px 18px;
    }

    .bbi-hold-unit-card {
        flex-direction: column;
    }

    .bbi-hold-unit-photo {
        flex: none;
    }

    .bbi-hold-unit-photo img {
        width: 100%;
        height: 200px;
    }

    .bbi-hold-unit-meta {
        padding: 16px;
    }

    .bbi-hold-form-header h1 {
        font-size: 1.4rem;
    }
}
