/**
 * Eli Access Guard — Frontend styles (RTL mirror)
 */

.eag-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.5;
    direction: rtl;
}
.eag-message-error    { background: #fdecec; color: #b32d2e; border-right: 4px solid #d63638; }
.eag-message-warning  { background: #fff8e5; color: #8a6700; border-right: 4px solid #dba617; }
.eag-message-info     { background: #e5f3fb; color: #1d6fbb; border-right: 4px solid #2271b1; }
.eag-message-success  { background: #e5f5e9; color: #00712a; border-right: 4px solid #00a32a; }

.eag-form { max-width: 480px; margin: 0 auto; direction: rtl; }
.eag-form-row { margin-bottom: 16px; }
.eag-form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    text-align: right;
}
.eag-form-row input[type="text"],
.eag-form-row input[type="email"],
.eag-form-row input[type="tel"],
.eag-form-row input[type="password"],
.eag-form-row select,
.eag-form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
}
/* Numeric/email/tel inputs typically render LTR even on RTL sites */
.eag-form-row input[type="email"],
.eag-form-row input[type="tel"] {
    direction: ltr;
    text-align: right;
}
.eag-form-row input:focus,
.eag-form-row select:focus,
.eag-form-row textarea:focus {
    border-color: #2271b1;
    outline: 2px solid #2271b1;
    outline-offset: -1px;
}
.eag-form-help { font-size: 12px; color: #646970; margin-top: 4px; text-align: right; }
.eag-form-error { font-size: 12px; color: #d63638; margin-top: 4px; text-align: right; }

.eag-honeypot {
    position: absolute !important;
    right: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
}

.eag-button {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
}
.eag-button:hover { background: #135e96; }
.eag-button:disabled { background: #c3c4c7; cursor: not-allowed; }
.eag-button-secondary { background: #fff; color: #2271b1; border: 1px solid #2271b1; }
.eag-button-secondary:hover { background: #f0f6fc; }

.eag-locked-screen {
    max-width: 480px;
    margin: 40px auto;
    padding: 32px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    text-align: center;
    direction: rtl;
}
.eag-locked-screen h2 { margin-top: 0; color: #d63638; }
.eag-locked-screen p { color: #50575e; line-height: 1.6; }
