body {
    overflow-x: hidden;
    width: 100%;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-track {
    background: #0f172a;
}

.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.drop-zone {
    transition: all 0.3s ease;
    border: 2px dashed #94a3b8;
    background-color: transparent;
}

.dark .drop-zone {
    border-color: #334155;
}

.drop-zone.active {
    background-color: rgba(16, 185, 129, 0.05);
    border-color: #10b981;
    border-width: 3px;
}

.progress-bar {
    transition: width 0.3s linear;
}

.modal {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hidden-modal {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hidden-modal .modal-content {
    transform: scale(0.95);
}

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: white;
    color: #1e293b;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid #10b981;
    font-size: 0.875rem;
    font-weight: 500;
}

.dark .toast {
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid #334155;
    border-left: 4px solid #10b981;
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.sortable-ghost {
    opacity: 0.4;
    background: #e2e8f0;
}

.dark .sortable-ghost {
    background: #334155;
}

.drag-handle {
    cursor: grab;
}

.drag-handle:active {
    cursor: grabbing;
}

/* Logo Enhancements */
@keyframes logo-load {
    0% { transform: scale(0.5) rotate(-15deg); opacity: 0; filter: blur(5px); }
    60% { transform: scale(1.1) rotate(5deg); opacity: 1; filter: blur(0); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.logo-animate {
    animation: logo-load 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.logo-3d {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4)) drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: logo-float 4s ease-in-out infinite;
    animation-delay: 1.2s; /* Start after load animation */
}

.logo-3d:hover {
    transform: perspective(100px) rotateX(10deg) rotateY(10deg) scale(1.15) !important;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
}


