@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
    --primary-color: #1a237e;
    --accent-color: #3949ab;
    --gold-color: #ffd700;
}

body {
    font-family: 'Tajawal', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #e0e5ec;
    box-shadow: inset 2px 2px 4px #bebebe, inset -2px -2px 4px #ffffff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #64748b;
    /* Lighter Kohl (slate-500) */
    border-radius: 10px;
    border: 1px solid #e0e5ec;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
    /* darker on hover */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.slide-in-from-top {
    animation: slideUp 0.7s ease-out reverse forwards;
}

.slide-in-from-bottom {
    animation: slideUp 0.7s ease-out forwards;
}

.slide-in-from-right {
    animation: slideRight 0.7s ease-out forwards;
}

.slide-in-from-left {
    animation: slideLeft 0.7s ease-out forwards;
}

.zoom-in {
    animation: zoomIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.duration-700 {
    animation-duration: 700ms;
}

.duration-1000 {
    animation-duration: 1000ms;
}

/* Arabic Font Optimization */
.font-arabic {
    font-family: 'Tajawal', sans-serif;
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.neu-pressed {
    background: #f8fafc;
    box-shadow: inset 2px 2px 5px #e2e8f0, inset -3px -3px 7px #ffffff;
}