 * {
    font-family: 'Cairo', sans-serif;
}
body {
    touch-action: pan-x pan-y;
    background: #f8fafc;
    scroll-behavior: smooth;
}
.navbar {
    direction: ltr;
    background: linear-gradient(135deg, #0b2b26, #1e4a3b);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 12px 0;
}
/* تلوين زر القائمة (الهامبرغر) باللون الأصفر */
.navbar-toggler {
    background-color: #f9c74f;
    border-color: #f9c74f;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    transition: 0.3s;
    /* جعل الزر ظاهراً في جميع الشاشات (تجاوز Bootstrap) */
    display: inline-block !important;
}
.navbar-toggler:hover {
    background-color: #e0b13b;
    border-color: #e0b13b;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: #f9c74f !important;
}
.navbar-brand i {
    color: #f9c74f;
    margin-left: 8px;
}
/* تنسيق القائمة العادية للشاشات الكبيرة */
.nav-link {
    color: #f0f0f0 !important;
    font-weight: 600;
    margin: 0 8px;
    transition: 0.3s;
}
.nav-link i {
    margin-left: 6px;
}
.nav-link:hover {
    color: #f9c74f !important;
    transform: translateY(-2px);
}
/* تنسيق قائمة الـ Offcanvas */
.offcanvas {
    background: linear-gradient(135deg, #0b2b26, #1e4a3b);
}
.offcanvas-header {
    direction: ltr;
}
.offcanvas-header .offcanvas-title {
    direction: ltr;
    color: #f9c74f;
    font-weight: 800;
}
.offcanvas-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.offcanvas-body .nav-link {
    color: #f0f0f0 !important;
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: 12px;
    transition: 0.3s;
}
.offcanvas-body .nav-link:hover {
    background: rgba(249, 199, 79, 0.2);
    color: #f9c74f !important;
    transform: translateX(-5px);
}
.offcanvas-body .nav-link i {
    width: 30px;
    margin-left: 12px;
}
.offcanvas-body .divider {
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 12px 0;
}
.offcanvas-body .action-buttons {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.offcanvas-body .action-buttons .btn {
    border-radius: 40px;
    padding: 10px;
    font-weight: 600;
}
.btn-outline-light {
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
    background-color: #f9c74f;
    border-color: #f9c74f;
    color: #1e4a3b;
}
.btn-warning {
    background-color: #f9c74f;
    border-color: #f9c74f;
    color: #1e4a3b;
    font-weight: 600;
}
footer {
    background: #0b2b26;
    color: #cbd5e1;
    padding: 40px 0;
    text-align: center;
}
footer i {
    margin-right: 3px;
    color: #f9c74f;
}
footer .logo {
    color: #f9c74f;
}

/* تنسيق القائمة العادية للشاشات الكبيرة */
@media (min-width: 992px) {
    .desktop-nav-links {
        display: flex;
        align-items: center;
        gap: 12px;
    }
}
.login-wrapper {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-card {
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1);
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    transition: transform 0.3s ease;
}
.auth-card:hover { transform: translateY(-5px); }

.logo {
    direction: ltr;
}
.logo a {
    font-size: 2.1rem;
    font-weight: 800;
    color: #f9c74f;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo a i {
    color: #f9c74f;
    margin-left: 8px;
}
.btn-primary {
    background-color: #1e4a3b;
    border-color: #1e4a3b;
    border-radius: 60px;
    padding: 12px;
    font-weight: 700;
    transition: 0.3s;
}
.btn-primary:hover {
    background-color: #f9c74f;
    border-color: #f9c74f;
    color: #1e4a3b;
}
.btn-outline-primary {
    border-radius: 60px;
    padding: 10px 20px;
    font-weight: 600;
    border-color: #1e4a3b;
    color: #1e4a3b;
}
.btn-outline-primary:hover {
    background-color: #1e4a3b;
    border-color: #1e4a3b;
    color: white;
}
.input-group-text {
    background-color: #f1f5f9;
    border-left: none;
    color: #1e4a3b;
}
.form-control {
    border-right: none;
    padding: 12px 15px;
}
.form-control:focus {
    box-shadow: none;
    border-color: #f9c74f;
}
.input-group:focus-within .input-group-text,
.input-group:focus-within .form-control {
    border-color: #f9c74f;
}
.password-toggle {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    z-index: 10;
}
.alert-custom {
    border-radius: 60px;
    background-color: #fee2e2;
    border-color: #fecaca;
    color: #b91c1c;
}
