/* =========================================================
   Webup Woo — B2B Formularer
   ========================================================= */

.webup-b2b-form {
    max-width: 480px;
    margin: 0 auto;
}

.webup-b2b-form-inner {
    background: var(--webup-woo-bg, #ffffff);
    border: 1px solid var(--webup-woo-border, #e0e0e0);
    border-radius: 6px;
    padding: 32px 36px;
}

.webup-b2b-form-title {
    margin: 0 0 8px !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--webup-woo-text, #333333) !important;
}

.webup-b2b-form-desc {
    margin: 0 0 24px;
    color: var(--webup-woo-light-text, #666666);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ─── Felter ─── */

.webup-b2b-field {
    margin-bottom: 18px;
}

.webup-b2b-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--webup-woo-text, #333333);
    margin-bottom: 6px;
}

.webup-b2b-field--inline label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.webup-b2b-field input[type="text"],
.webup-b2b-field input[type="tel"],
.webup-b2b-field input[type="email"],
.webup-b2b-field input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--webup-woo-border, #e0e0e0);
    border-radius: 4px;
    font-size: 0.9375rem;
    color: var(--webup-woo-text, #333333);
    background: #ffffff;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.webup-b2b-field input:focus {
    outline: none;
    border-color: var(--webup-woo-primary, #333333);
}

.webup-b2b-required {
    color: #e74c3c;
}

.webup-b2b-field-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.8125rem;
    color: var(--webup-woo-light-text, #888888);
}

/* ─── Knap ─── */

.webup-b2b-submit {
    margin-top: 8px;
}

.webup-b2b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 28px;
    background: var(--webup-woo-primary, #333333);
    color: #ffffff !important;
    border: none;
    border-radius: 4px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    width: 100%;
}

.webup-b2b-btn:hover:not(:disabled) {
    opacity: 0.85;
}

.webup-b2b-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

/* ─── Notifikationer ─── */

.webup-b2b-notice {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.webup-b2b-notice--success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.webup-b2b-notice--error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* ─── B2B-pris (rabat) ─── */

.webup-b2b-price {
    color: var(--webup-woo-sale, #e74c3c) !important;
    font-weight: 600 !important;
}

/* ─── Responsiv ─── */

@media (max-width: 520px) {
    .webup-b2b-form-inner {
        padding: 24px 20px;
    }
}
