* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    text-align: center;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-container img {
    width: 100px;
    height: auto;
}

.title-main {
    color: #007bff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
}

.title-sub {
    color: #6c757d;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 30px;
    direction: ltr;
}

.form-group {
    text-align: right;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: #007bff;
}

.form-control::placeholder {
    color: #adb5bd;
}

.remember-me {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 25px;
}

.remember-me label {
    font-size: 14px;
    color: #495057;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background-color: #0056b3;
}

.divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 25px 0;
}

.footer-text {
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.version-text {
    color: #6c757d;
    font-size: 13px;
    direction: ltr;
}
/* تحسين التوافق مع الشاشات الصغيرة والموبايل */
.card, .table-card {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    .header-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}