/* =========================================================
   Aproxian Advanced Wholesale — Registration Form Styles
   ========================================================= */

/* Checkbox toggle */
.aaw-wholesale-toggle {
    margin: 16px 0 0;
}

.aaw-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.aaw-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: currentColor;
    flex-shrink: 0;
}

/* Wholesale sub-form */
.aaw-wholesale-form {
    margin-top: 16px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    animation: aawFadeIn .2s ease;
}

@keyframes aawFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.aaw-form-group {
    margin-bottom: 14px;
}

.aaw-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.aaw-form-group label .required {
    color: #e74c3c;
}

.aaw-form-group input,
.aaw-form-group select,
.aaw-form-group textarea {
    width: 100%;
    box-sizing: border-box;
}

.aaw-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.aaw-notice {
    margin: 14px 0 0;
    padding: 10px 14px;
    background: #fff8e1;
    border-left: 3px solid #ffc107;
    border-radius: 3px;
    font-size: 13px;
    color: #5d4037;
}

/* AAW — Wholesale Price Layout */
.aaw-price-wrap {
    display: inline-flex;
    flex-direction: column;
}

/* Row 1 — retail crossed out, small and muted */
del.aaw-retail {
    display: block;
    font-size: .82em;
    font-weight: 400;
    opacity: .5;
    text-decoration: line-through;
}

del.aaw-retail bdi,
del.aaw-retail .woocommerce-Price-amount {
    color: inherit !important;
}

/* Row 2 — label + wholesale price */
.aaw-wh-block {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.aaw-wh-label {
    font-size: .72em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .65;
    white-space: nowrap;
}

ins.aaw-wh-price {
    display: inline-block;
    text-decoration: none !important;
    font-style: normal;
    font-weight: 700;
}
