/* تنسيقات الأيقونات محلياً */
/* تعريف أيقونات Material Symbols الصحيحة */
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/material-symbols.woff2') format('woff2');
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* التنسيقات الخاصة بسكوتي */
.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ربط خط Tajawal */
@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal/Tajawal-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal/Tajawal-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ربط خط Cairo Play */
@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo_Play/static/CairoPlay-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo_Play/static/CairoPlay-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.orb {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.2); }
}

/* حركات صفحة التحميل */
@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px 10px rgba(34, 197, 94, 0.2); }
}
.animate-pulse-glow {
    animation: pulse-subtle 3s infinite ease-in-out;
}
.tonal-shift {
    transition: background-color 0.3s ease;
}
/* حركات صفحة تسجيل الدخول (Split Screen) */
@keyframes float-login {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
.floating-element {
    animation: float-login 6s ease-in-out infinite;
}
.floating-element-delayed {
    animation: float-login 8s ease-in-out infinite;
    animation-delay: 2s;
}

/* تخصيصات الداشبورد (Dashboard Custom Styles) */
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.custom-scrollbar:hover::-webkit-scrollbar-thumb { background: #94a3b8; }

.tonal-transition-left {
    box-shadow: -10px 0 30px -15px rgba(0, 110, 47, 0.1);
}

.orb-blur {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
}

/* حركة القوائم الجانبية المنسدلة */
.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.submenu.open {
    max-height: 500px; /* رقم كبير يسمح بفتح القائمة بالكامل */
}