/**
 * Eli Access Guard — Elementor Widgets (RTL)
 */

.eag-el-login {
    max-width: 480px;
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    direction: rtl;
    text-align: right;
}
.eag-el-login-title {
    margin: 0 0 24px;
    font-size: 22px;
    color: #1d2327;
    font-weight: 600;
    text-align: right;
}
.eag-el-login form#loginform p { margin: 0 0 16px; }
.eag-el-login form#loginform label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    text-align: right;
}
.eag-el-login form#loginform input[type="text"],
.eag-el-login form#loginform input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
    text-align: right;
}
.eag-el-login form#loginform input:focus {
    border-color: #2271b1;
    outline: 2px solid #2271b1;
    outline-offset: -1px;
}
.eag-el-login .forgetmenot {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.eag-el-login .submit input[type="submit"],
.eag-el-login button[type="submit"] {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}
.eag-el-login .submit input[type="submit"]:hover,
.eag-el-login button[type="submit"]:hover { background: #135e96; }

.eag-el-login-links {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid #f0f0f1;
    flex-direction: row-reverse;
}
.eag-el-link { color: #2271b1; text-decoration: none; font-size: 13px; }
.eag-el-link:hover { text-decoration: underline; }

.eag-el-login-error {
    padding: 10px 14px;
    background: #fdecec;
    color: #b32d2e;
    border-right: 3px solid #d63638;
    border-radius: 6px;
    margin: 0 0 16px;
    font-size: 13px;
    text-align: right;
}

.eag-el-login-logged-in {
    text-align: center;
    padding: 32px;
    background: #f6f7f7;
    border-radius: 12px;
    color: #50575e;
}

/* Account Status */
.eag-el-status {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    direction: rtl;
    text-align: right;
}
.eag-el-status-guest {
    color: #646970;
    font-style: italic;
    text-align: center;
    padding: 24px;
    background: #f6f7f7;
    border-radius: 8px;
    border: 1px dashed #dcdcde;
}
.eag-el-status-greeting {
    margin: 0 0 16px;
    font-size: 16px;
    color: #1d2327;
    text-align: right;
}
.eag-el-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 0 0 20px;
}
.eag-el-stat {
    text-align: center;
    padding: 14px 8px;
    background: #f6f7f7;
    border-radius: 8px;
}
.eag-el-stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #1d2327;
    line-height: 1.2;
    margin-bottom: 4px;
}
.eag-el-stat-label {
    font-size: 12px;
    color: #646970;
    letter-spacing: 0.4px;
}
.eag-el-status-locked { color: #d63638; }
.eag-el-status-ok     { color: #00a32a; }

.eag-el-status-actions {
    text-align: left;
    padding-top: 16px;
    border-top: 1px solid #f0f0f1;
}

.eag-wc-device-list-widget {
    background: transparent;
    direction: inherit;
}
.eag-wc-device-list-widget .eag-wc-section { margin: 0; }

/* ===== LearnDash block notice — RTL ===== */
.eag-ld-block-notice {
    max-width: 640px;
    margin: 40px auto;
    padding: 40px 32px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    direction: rtl;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.eag-ld-block-notice.eag-ld-block-locked   { border-top: 4px solid #d63638; }
.eag-ld-block-notice.eag-ld-block-pending_approval { border-top: 4px solid #dba617; }
.eag-ld-block-notice.eag-ld-block-rejected { border-top: 4px solid #646970; }
.eag-ld-block-notice.eag-ld-block-email_unverified { border-top: 4px solid #2271b1; }

.eag-ld-block-icon { font-size: 48px; line-height: 1; margin: 0 0 16px; }
.eag-ld-block-title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 600;
    color: #1d2327;
}
.eag-ld-block-message {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #50575e;
}
.eag-ld-block-cta { margin: 0; }
.eag-ld-block-button {
    display: inline-block;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}
.eag-ld-block-button:hover {
    background: #135e96;
    color: #fff;
}
