/* Alcash Email Shield Premium CSS */

.alcash-shield-wrapper {
    margin: 12px 0 16px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: block;
    width: 100%;
}

/* Premium Send Code Button */
.alcash-shield-send-btn {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2), 0 2px 4px -1px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    text-transform: none;
    outline: none;
    text-decoration: none;
    line-height: 1.2;
}

.alcash-shield-send-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3), 0 4px 6px -2px rgba(59, 130, 246, 0.15);
}

.alcash-shield-send-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.alcash-shield-send-btn:disabled {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Feedback Notifications */
.alcash-shield-feedback {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
    padding: 10px 14px;
    border-radius: 6px;
    display: block;
    font-weight: 500;
}

.alcash-shield-success {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alcash-shield-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* OTP Container and Input */
.alcash-shield-otp-container {
    margin-top: 16px;
    padding: 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.alcash-shield-otp-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px !important;
}

.alcash-shield-otp-label span.required {
    color: #ef4444;
}

.alcash-shield-otp-input {
    width: 100%;
    max-width: 180px;
    background-color: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 6px;
    text-align: center;
    color: #0f172a;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.alcash-shield-otp-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* WooCommerce billing details adjustments */
#billing_email_field .alcash-shield-wrapper {
    margin-top: 8px;
}

/* Animation */
@keyframes shieldFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.alcash-shield-otp-container {
    animation: shieldFadeIn 0.3s ease forwards;
}
