
/* استایل‌های اختصاصی صفحه ورود جدید mtserver */
/* جایگزین کلاس قبلی در فایل custom.css کنید */
/* کدهای اختصاصی برای وسط‌چین کردن اجباری در WHMCS */
.mt-center-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 70vh !important;
    padding: 20px 0;
}

.login-container {
    width: 850px !important;
    max-width: 95vw !important;
    margin: 0 !important; /* مارجین را صفر می‌کنیم چون Flexbox کار وسط‌چین کردن را انجام می‌دهد */
    display: block !important;
    position: relative !important;
    transform: none !important;
    right: auto !important;
    left: auto !important;
}

.login-card {
    display: flex;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    direction: rtl;
}

/* بخش سمت راست - آبی */
.login-sidebar {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    width: 40%;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.login-sidebar h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.login-sidebar p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

/* بخش سمت چپ - فرم */
.login-form-area {
    width: 60%;
    padding: 50px;
    text-align: right;
}

.login-form-area h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.subtitle {
    font-size: 13px;
    color: #777;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
    text-align: right;
}

.input-group input:focus {
    border-color: #2563eb;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13px;
    direction: rtl;
}

.forgot-password {
    color: #2563eb;
    text-decoration: none;
}

.remember-me {
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* دکمه‌ها */
.button-group {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 15px 0;
    width: 60%;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: transparent;
    color: #333;
    border: 1px solid #e1e5eb;
    padding: 15px 0;
    width: 40%;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    box-sizing: border-box;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    border-color: #333;
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
    }
    .login-sidebar {
        width: 100%;
        padding: 30px;
    }
    .login-form-area {
        width: 100%;
        padding: 30px;
    }
}

