/**
 * MVMP WooCommerce Integration — My Account form styles
 */

/* Account Type selector grid */
.mvmp-account-type-row {
    margin-bottom: 24px !important;
}

.mvmp-account-type-row > label {
    display: block;
    margin-bottom: 12px;
    color: #1a202c;
    font-size: 0.95rem;
}

.mvmp-account-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 600px) {
    .mvmp-account-type-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mvmp-account-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}

.mvmp-account-type:hover {
    border-color: #6c47ff;
    background: #faf9ff;
}

.mvmp-account-type input[type="radio"] {
    position: absolute;
    top: 8px;
    right: 8px;
    margin: 0;
}

.mvmp-account-type__emoji {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 6px;
}

.mvmp-account-type__label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a202c;
    margin-bottom: 4px;
}

.mvmp-account-type__desc {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}

.mvmp-account-type--selected {
    border-color: #6c47ff;
    background: #f0edff;
    box-shadow: 0 0 0 3px rgba(108, 71, 255, 0.12);
}

/* Role-specific fields */
.mvmp-role-fields {
    margin-top: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.mvmp-role-fields .form-row {
    margin-bottom: 12px !important;
}

.mvmp-role-fields .form-row:last-child {
    margin-bottom: 0 !important;
}

/* Vendor pending notice */
.mvmp-vendor-notice {
    margin-top: 8px !important;
    padding: 10px 14px;
    background: #fff8e1;
    border-left: 3px solid #f59e0b;
    border-radius: 0 6px 6px 0;
    font-size: 0.85rem;
    color: #78350f;
}

/* ── Email verification banner & notices ────────────────────────── */

.mvmp-verify-banner {
    background: #fff8e1;
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    color: #78350f;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    margin: 0 0 20px;
    font-size: 0.92rem;
    line-height: 1.55;
}
.mvmp-verify-banner strong { color: #92400e; }
.mvmp-verify-banner a       { color: #b45309; text-decoration: underline; }
.mvmp-verify-banner a:hover { color: #92400e; }

.mvmp-verify-notice {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 0 0 16px;
    font-size: 0.92rem;
    line-height: 1.5;
}
.mvmp-verify-notice--success { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; }
.mvmp-verify-notice--warn    { background: #fff8e1; border: 1px solid #fcd34d; color: #92400e; }
.mvmp-verify-notice--info    { background: #dbeafe; border: 1px solid #93c5fd; color: #1e3a8a; }

/* Hint shown under the role selector */
.mvmp-verify-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.82rem;
    color: #475569;
}
