* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
a:hover, button:hover{
    cursor: pointer;
}
[x-cloak] {
    display: none !important;
}
abbr{
    text-decoration: none !important;
}
.gradient-border {
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
}

.glass {
    backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
}

.dark .glass {
    background-color: rgba(9, 9, 11, 0.75);
}

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

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

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
html {
    scrollbar-width: none;
    scrollbar-color: #c7c7c7 #fff;
}
.dark {
    scrollbar-width: none;
    scrollbar-color: #27272a #000;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 320px;
    max-width: 480px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin-bottom: 12px;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dark .toast {
    background: #18181b;
    border-color: #27272a;
}

.toast.show {
    transform: translateX(0);
}

.toast-progress {
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #8b5cf6);
    border-radius: 0 0 0 12px;
    transition: width linear;
}

.toast-success .toast-progress { background: linear-gradient(90deg, #10b981, #059669); }
.toast-error .toast-progress { background: linear-gradient(90deg, #ef4444, #dc2626); }
.toast-warning .toast-progress { background: linear-gradient(90deg, #f59e0b, #d97706); }
.toast-info .toast-progress { background: linear-gradient(90deg, #3b82f6, #2563eb); }

/* Tooltips */
.tooltip {
    position: relative;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1f2937;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

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

.dark .tooltip::before {
    background: #e4e4e7;
    color: #18181b;
}

.dark .tooltip::after {
    border-top-color: #e4e4e7;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.dark .skeleton {
    background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
    background-size: 200% 100%;
}

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

/* Form Validation */
.form-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dark .error-message {
    color: #f87171;
}
.tox-statusbar__branding{
    display: none !important;
}
/* Sidebar Overlay on Hover */
@media (min-width: 1024px) {
    aside.lg\:fixed {
        z-index: 50 !important;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

    .dark aside.lg\:fixed {
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    }
}


