@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    -webkit-tap-highlight-color: transparent;
}

html, body {
    min-height: 100dvh;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
    background: #EA580C;
    border-radius: 999px;
}

.card-fade-in {
    animation: fadeInUp 0.4s ease-out both;
}

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

.card-fade-in:nth-child(1) { animation-delay: 0.05s; }
.card-fade-in:nth-child(2) { animation-delay: 0.10s; }
.card-fade-in:nth-child(3) { animation-delay: 0.15s; }
.card-fade-in:nth-child(4) { animation-delay: 0.20s; }
.card-fade-in:nth-child(5) { animation-delay: 0.25s; }
.card-fade-in:nth-child(6) { animation-delay: 0.30s; }

.tab-content {
    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hover-scale {
    transition: transform 0.15s ease;
}

.hover-scale:active {
    transform: scale(0.97);
}

@media (min-width: 768px) {
    .bottom-nav-wrapper {
        display: none;
    }

    .sidebar-nav {
        display: flex;
    }
}

@media (max-width: 767px) {
    .sidebar-nav {
        display: none;
    }
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
    max-width: calc(100vw - 2rem);
}
.toast {
    background: #2A2A2E;
    color: #fff;
    font-size: 0.8125rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    animation: toastIn 0.3s ease-out;
    pointer-events: auto;
    text-align: center;
    white-space: nowrap;
}
.toast.error { border-left: 3px solid #ef4444; }
.toast.success { border-left: 3px solid #F97316; }
@keyframes toastIn {
    from { opacity: 0; transform: translateY(16px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.toast-removing {
    animation: toastOut 0.25s ease-in forwards;
}
@keyframes toastOut {
    to { opacity: 0; transform: translateY(8px) scale(0.95); }
}


