/* Bulletproof Hidden Class - Strictly overrides everything */
.sv-hidden,
#secureverify-send-btn.sv-hidden,
.secureverify-wrapper .sv-hidden {
    display: none !important;
}

/* Fix for theme equal-height JS clipping the register button */
form.woocommerce-form-register.register {
    height: auto !important; /* Fixed height ko auto karega taake box expand ho sake */
}

/* Wrapper Container Styling */
.secureverify-wrapper {
    margin: 15px 0;
    width: 100%;
    box-sizing: border-box;
}

.secureverify-action-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

/* Base Styles for Buttons - Rounded Pill style preserved */
.secureverify-btn-secondary,
.secureverify-btn-primary {
    background-color: #2ea2e9 !important;
    color: #ffffff !important;
    border: none !important;
    height: 45px !important; /* Height is set to match input field */
    line-height: 45px !important; /* Text vertically centered inside button */
    padding: 0 32px !important; /* Left/Right padding preserved */
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border-radius: 50px !important; /* Original Pill shape preserved */
    cursor: pointer !important;
    display: inline-block; 
    text-align: center !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
    outline: none !important;
    max-width: 100%;
    box-sizing: border-box;
}

.secureverify-btn-secondary:disabled {
    background-color: #95a5a6 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* Timer Styling - Original Pill design preserved */
#secureverify-timer {
    font-size: 13px;
    color: #c0392b;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 24px;
    background: #fadbd8;
    border-radius: 50px !important; /* Original Pill style */
    display: inline-block;
    box-sizing: border-box;
}

/* OTP Code Submission Field Layout */
.secureverify-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.secureverify-input-group {
    display: flex;
    gap: 12px;
    max-width: 380px;
    align-items: center;
    box-sizing: border-box;
    margin-top: 8px;
}

/* Styling for OTP input to match button height and alignment */
.secureverify-input-group input {
    flex: 1;
    height: 45px !important; /* Matches exactly with the button height */
    padding: 0 15px !important;
    font-size: 16px !important;
    letter-spacing: 3px;
    text-align: center;
    border: 1px solid #ccc !important;
    border-radius: 6px !important; /* Original slightly rounded corner */
    box-sizing: border-box;
    min-width: 100px;
}

/* Hover States */
.secureverify-btn-secondary:hover,
.secureverify-btn-primary:hover {
    background-color: #1a8ccd !important;
    color: #ffffff !important;
}

/* Click Active States */
.secureverify-btn-secondary:active,
.secureverify-btn-primary:active {
    transform: scale(0.97) !important;
}

/* Status Messages Styles */
#secureverify-msg {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
}

.sv-info {
    color: #2ea2e9;
}

.sv-success {
    color: #27ae60;
}

.sv-error {
    color: #c0392b;
}

/* Tablet and Mobile Responsive Styles */
@media (max-width: 480px) {
    .secureverify-btn-secondary,
    .secureverify-btn-primary {
        width: 100% !important;
        padding: 0 16px !important;
        font-size: 14px !important;
    }
    
    .secureverify-input-group {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
    }
    
    .secureverify-input-group input {
        width: 100% !important;
        height: 45px !important;
    }
}

input#secureverify-otp-input {
    margin-bottom: 0px !important;
}