/* Main Form Container */
.wa-otp-registration-fields,
.wa-otp-login-form {
    margin: 1.5em 0;
}

/* Separator Styling - matches WooCommerce style */
.wa-otp-login-separator {
    text-align: center;
    margin: 2em 0;
    position: relative;
    font-size: 1em;
    color: #767676;
}

.wa-otp-login-separator:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #e5e5e5;
    z-index: 0;
}

.wa-otp-login-separator span {
    background: #fff;
    padding: 0 1em;
    position: relative;
    z-index: 1;
    text-transform: none;
}

/* Input Fields - matches WooCommerce style */
.wa-otp-mobile-input,
.wa-otp-input {
    width: 100%;
    padding: 0.75em;
    margin-bottom: 1em;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 1em;
    line-height: 1.5;
    box-sizing: border-box;
}

/* Button Container - ensures proper spacing */
.wa-otp-button-container {
    margin: 1em 0;
}

/* Inherit theme button styles */
.wa-otp-send-btn{
	display: block;
    width: 40%;
    margin: 0.5em 0;
    padding: 0.75em 1em;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-weight: normal;
    border-radius: 3px;
    border: 1px solid transparent;
    box-sizing: border-box;
}
.wa-otp-verify-btn {
    display: block;
    width: 100%;
    margin: 0.5em 0;
    padding: 0.75em 1em;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-weight: normal;
    border-radius: 3px;
    border: 1px solid transparent;
    box-sizing: border-box;
}

/* OTP Field Container */
.wa-otp-field {
    margin-top: 1.5em;
    transition: all 0.3s ease;
}

/* Hint Text */
.wa-otp-hint {
    display: block;
    color: #666;
    font-size: 0.85em;
    margin: 0.5em 0;
    line-height: 1.5;
}

/* Timer Styles */
.wa-otp-timer {
    display: inline-block;
    margin-left: 0.5em;
    color: #666;
    font-size: 0.85em;
    font-style: italic;
}

/* Messages - subtle but clear */
.wa-otp-error {
    color: #e2401c;
    font-size: 0.85em;
    margin: 0.5em 0;
    line-height: 1.5;
    display: block;
}

.wa-otp-success {
    color: #0f834d;
    font-size: 0.85em;
    margin: 0.5em 0;
    line-height: 1.5;
    display: block;
}

/* Responsive Adjustments */
@media (min-width: 480px) {
    .wa-otp-button-container {
        display: flex;
        gap: 1em;
    }
    
    .wa-otp-send-btn,
    .wa-otp-verify-btn {
        width: 50%;
        flex: 1;
    }
}