body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif !important;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.05);
}
.dark ::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.4);
}
::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.6);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
.animate-fadeIn {
    animation: fadeIn 0.3s ease-out forwards;
}
.animate-slideLeft {
    animation: slideLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.light-card-bg {
    background-color: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
}

/* چیدمان شخصی‌سازی‌شده — درگ‌اند‌دراپ بخش‌های داشبورد */
.dashboard-section {
    transition: opacity 0.15s ease;
}
.dashboard-section.dragging-section {
    opacity: 0.4;
}
.dashboard-section.drag-over-line {
    outline: 2px dashed rgba(99, 102, 241, 0.6);
    outline-offset: 4px;
    border-radius: 1.5rem;
}
.drag-handle {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    color: rgb(148 163 184);
    background: rgba(148, 163, 184, 0.08);
    opacity: 0;
    transition: opacity 0.15s ease, background 0.15s ease;
    z-index: 20;
}
.dashboard-section:hover .drag-handle {
    opacity: 1;
}
.drag-handle:hover {
    background: rgba(99, 102, 241, 0.15);
    color: rgb(99 102 241);
}
.drag-handle:active {
    cursor: grabbing;
}
