/* Custom Scrollbars and Safe Area Layout Tweaks */
:root {
    color-scheme: dark;
}

/* Custom Safe Areas spacing */
.safe-top {
    padding-top: calc(0px + env(safe-area-inset-top));
}
.safe-bottom {
    padding-bottom: calc(4px + env(safe-area-inset-bottom));
}

/* Smooth Scrolling */
#main-scroll-container {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for dark layout */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #09090b;
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* Prevent text selection for native webview feel */
body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Float Animation for Mascot */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Active tab style */
.nav-active {
    color: #6366f1 !important;
}

/* Active Tool sub-tab style */
.tool-tab-active {
    background-color: #18181b !important;
    color: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Eisenhower Matrix completed task styling */
.task-completed {
    text-decoration: line-through;
    opacity: 0.5;
}