/**
 * WooCommerce Universal Phone Verification - Stylesheet
 */

.wc-phone-verify-container {
    margin-top: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: inherit;
    font-size: 14px;
    line-height: 1.4;
}

@supports (background: color-mix(in srgb, white 10%, transparent)) {
    .wc-phone-verify-container {
        background: color-mix(in srgb, currentColor 6%, transparent);
        border-color: color-mix(in srgb, currentColor 18%, transparent);
    }
}

.wc-pv-trigger-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-pv-btn {
    font-size: 13px !important;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    min-height: 34px;
}

.wc-pv-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.wc-pv-badge-unverified { background: rgba(255, 255, 255, 0.14); color: inherit; }
.wc-pv-badge-pending { background: #fef3c7; color: #b45309; }
.wc-pv-badge-verified { background: #dcfce7; color: #15803d; }
.wc-pv-badge-error { background: #fee2e2; color: #b91c1c; }

.wc-pv-otp-wrapper {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.24);
}

.wc-pv-otp-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
}

.wc-pv-otp-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wc-pv-otp-input-group input {
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    width: 130px !important;
    padding: 6px 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
}

.wc-pv-resend-bar {
    margin-top: 8px;
    font-size: 12px;
    color: inherit;
    opacity: 0.78;
}

.wc-pv-message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.wc-pv-msg-success { background: rgba(22, 101, 52, 0.12); border: 1px solid rgba(34, 197, 94, 0.35); color: inherit; }
.wc-pv-msg-error { background: rgba(153, 27, 27, 0.14); border: 1px solid rgba(248, 113, 113, 0.42); color: inherit; }
.wc-pv-msg-warning { background: rgba(146, 64, 14, 0.14); border: 1px solid rgba(251, 191, 36, 0.38); color: inherit; }
