@media print {
    aside {
        display: none !important;
    }
    main {
        margin: 0 !important;
    }
}

* {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

input[type="datetime-local"],
input[type="date"] {
    direction: ltr;
    text-align: right;
}

pre {
    direction: rtl;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.animate-slide-in {
    animation: slideInRight 0.3s ease-out;
}

.animate-pulse-slow {
    animation: pulse 2s ease-in-out infinite;
}

.shimmer {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.card-hover {
    transition: all 0.2s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gradient-brand {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.gradient-violet {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.gradient-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.progress-bar-animated {
    transition: width 0.6s ease-out;
}

.badge-glow {
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.3);
}

.sidebar-link {
    position: relative;
    transition: all 0.15s ease;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #2563eb;
    border-radius: 2px;
    transition: height 0.15s ease;
}

.sidebar-link:hover::before,
.sidebar-link.active::before {
    height: 60%;
}

.notification-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: #1e293b;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.tooltip:hover::after {
    opacity: 1;
}
