.ppwoo-email-otp {
    margin: 0 0 1rem;
}

/* Black, not the store's green: sending a code is a step on the way to
   registering, and the green belongs to the button that finishes the job.
   !important because the theme paints every .woocommerce button green. */
.ppwoo-email-otp__send {
    align-items: center;
    background: #111 !important;
    border: 1px solid #111 !important;
    border-radius: 5px;
    color: #fff !important;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    line-height: 1.25;
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    width: 100%;
}

.ppwoo-email-otp__send:hover,
.ppwoo-email-otp__send:focus {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.ppwoo-email-otp__send-row {
    margin-bottom: 0.75rem;
}

.ppwoo-email-otp-form button[name="register"][hidden],
.ppwoo-email-otp__code-row[hidden] {
    display: none !important;
}

.woocommerce-form-register > p:empty {
    display: none;
}

.ppwoo-email-otp__code {
    flex: 1 1 8rem;
    letter-spacing: 0.3em;
    min-width: 0;
    font-variant-numeric: tabular-nums;
}

.ppwoo-email-otp__verify-controls {
    align-items: stretch;
    display: flex;
    gap: 0.55rem;
    width: 100%;
}

.ppwoo-email-otp__verify-slot {
    display: flex;
    flex: 0 1 auto;
}

.ppwoo-email-otp__verify-slot button[name="register"] {
    align-items: center;
    background: #35b777 !important;
    border: 1px solid #35b777 !important;
    border-radius: 5px;
    color: #fff !important;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    line-height: 1.25;
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    white-space: nowrap;
}

.ppwoo-email-otp__verify-slot button[name="register"]:hover,
.ppwoo-email-otp__verify-slot button[name="register"]:focus {
    background: #249c61 !important;
    border-color: #249c61 !important;
}

.ppwoo-email-otp.is-verification-step .ppwoo-email-otp__send-row {
    margin: 0.2rem 0 0.65rem;
    text-align: right;
}

.ppwoo-email-otp.is-verification-step .ppwoo-email-otp__send {
    background: transparent !important;
    border: 1px solid #cfd8d3 !important;
    box-shadow: none !important;
    color: #267a55 !important;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    width: 100%;
}

.ppwoo-email-otp.is-verification-step .ppwoo-email-otp__send:disabled {
    background: transparent !important;
    color: #7b8a82 !important;
    cursor: default;
    opacity: 1;
}

.ppwoo-email-otp__message {
    margin: -0.5rem 0 1rem;
    min-height: 1.4em;
    font-size: 0.92em;
}

.ppwoo-email-otp__message.is-success {
    color: #157347;
}

.ppwoo-email-otp__message.is-error {
    color: #b32d2e;
}

.ppwoo-google-registration {
    margin: 0 0 1.25rem;
    text-align: center;
}

.ppwoo-google-registration__divider {
    align-items: center;
    color: #6b7280;
    display: flex;
    font-size: 0.85rem;
    gap: 0.75rem;
    margin: 1rem 0;
    text-transform: uppercase;
}

.ppwoo-google-registration__divider::before,
.ppwoo-google-registration__divider::after {
    background: #dcdcde;
    content: "";
    flex: 1;
    height: 1px;
}

.ppwoo-google-auth__button {
    align-items: center;
    background: #fff;
    border: 1px solid #747775;
    border-radius: 5px;
    box-sizing: border-box;
    color: #1f1f1f;
    display: flex;
    font-weight: 600;
    gap: 12px;
    justify-content: center;
    min-height: 44px;
    padding: 9px 16px;
    text-decoration: none;
    width: 100%;
}

.ppwoo-google-auth__button:hover,
.ppwoo-google-auth__button:focus {
    background: #f8fafd;
    border-color: #1f1f1f;
    color: #1f1f1f;
    text-decoration: none;
}

.ppwoo-google-auth__button svg {
    flex: 0 0 18px;
}

@media (max-width: 420px) {
    .ppwoo-email-otp__verify-controls {
        gap: 0.4rem;
    }

    .ppwoo-email-otp__verify-slot button[name="register"] {
        font-size: 0.78rem;
        padding-left: 0.65rem;
        padding-right: 0.65rem;
        white-space: normal;
    }
}
