/**
 * OtpPal Login Integration Styles
 * Styles for the "Login with OTP" button on WordPress login page and shortcode
 */

/* Login button wrapper */
.otppal-login-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    padding-top: 15px;
}

/* Login page specific styling */
body.login .otppal-login-wrapper {
    border-top: 1px solid #ddd;
}

/* Shortcode wrapper styling */
.otppal-login-shortcode {
    border-top: none;
    padding-top: 0;
}

/* Login button - works for both login page and shortcode */
#otppal-login-button,
.otppal-login-button {
    padding: 10px 20px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #f7f7f7;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

/* Full width on login page */
body.login #otppal-login-button {
    width: 100%;
}

/* Shortcode buttons can be any width */
.otppal-login-shortcode .otppal-login-button {
    width: auto;
}

#otppal-login-button:hover,
.otppal-login-button:hover {
    background-color: #f0f0f0;
    border-color: #999;
    color: #333;
}

#otppal-login-button:active,
.otppal-login-button:active {
    background-color: #e8e8e8;
}

#otppal-login-button:disabled,
.otppal-login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
