/* 
 * Sentio Design System
 * Standard CSS (No @apply as we use Tailwind CDN)
 */

:root {
	--sidebar-width: 280px;
	--sidebar-collapsed-width: 80px;
	--header-height: 64px;
    --primary-indigo: #4f46e5;
    --primary-indigo-dark: #4338ca;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-300: #cbd5e1;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--slate-900);
    background-color: var(--slate-50);
	font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--slate-100);
}

::-webkit-scrollbar-thumb {
    background: var(--slate-300);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Sidebar Styling */
.sentio-sidebar {
	width: var(--sidebar-width);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: var(--slate-900);
    color: var(--slate-300);
    z-index: 50;
    transition: all 0.3s ease-in-out;
    border-right: 1px solid var(--slate-800);
}

.sentio-sidebar .nav-link {
    display: flex;
    items-align: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.sentio-sidebar .nav-link:hover {
    background-color: var(--slate-800);
    color: white;
}

.sentio-sidebar .nav-link.active {
    background-color: var(--primary-indigo);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(49, 46, 129, 0.2);
}

.sentio-sidebar .nav-link i {
    font-size: 1.125rem;
    width: 1.5rem;
    text-align: center;
}

/* Content Area */
.sentio-content {
    min-height: 100vh;
    transition: all 0.3s ease-in-out;
}

/* Header / Topbar */
.sentio-header {
	height: var(--header-height);
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 40;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.scroller {
    scrollbar-width: thin;
    scrollbar-color: var(--slate-300) transparent;
}
