/* پوشش تمام صفحه امن بدون آسیب به قالب */
.er-full-page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f4f7f6;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    font-family: tahoma, sans-serif;
}

.er-login-container {
    background: #fff;
    width: 90%;
    max-width: 380px;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    direction: rtl;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.er-login-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #333;
}

.er-login-header p {
    font-size: 14px;
    color: #888;
    margin-bottom: 30px;
}

.er-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.er-input-wrapper input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
    text-align: center;
    background: #f9f9f9;
    box-sizing: border-box;
}

.er-input-wrapper input:focus {
    border-color: #83b735;
    background: #fff;
    box-shadow: 0 0 8px rgba(131, 183, 53, 0.2);
}

.er-btn-submit {
    width: 100%;
    padding: 15px;
    background: #83b735;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-sizing: border-box;
}

.er-btn-submit:hover {
    background: #72a02d;
    transform: translateY(-2px);
}

.er-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.er-message-box {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    display: none;
}

.er-back-link {
    display: block;
    margin-top: 20px;
    color: #0073aa;
    text-decoration: none;
    font-size: 12px;
}
