/* ════ SIDE DRAWER ════ */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    display: block;
    opacity: 1;
}

.drawer-content {
    width: 280px;
    height: 100%;
    background: var(--bg);
    border-right: 1px solid var(--border);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.drawer-overlay.active .drawer-content {
    transform: translateX(0);
}

.drawer-header {
    padding: 40px 24px;
    background: var(--card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.drawer-logo-icon {
    font-size: 48px;
    color: var(--primary);
}

.drawer-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.drawer-menu {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
}

.menu-item {
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.menu-item:hover {
    background: rgba(184, 134, 11, 0.1);
    color: var(--primary);
}

.menu-item i {
    width: 24px;
    text-align: center;
    color: var(--primary);
    font-size: 18px;
}

.menu-item.signout {
    color: #ff4a49;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: auto;
}

.menu-item.signout i {
    color: #ff4a49;
}

.menu-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 24px;
}

/* ════ BOTTOM NAV ════ */
@media (max-width: 650px) {
    .bottom-nav-wrap {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: calc(85px + var(--safe-bottom));
        padding-bottom: var(--safe-bottom);
        display: flex;
        justify-content: center;
        align-items: flex-end;
        pointer-events: none;
        z-index: 1000;
        background: linear-gradient(to top, var(--bg) 60%, transparent);
    }

    .bottom-nav {
        width: 100%;
        height: var(--dock-height);
        background: var(--card);
        display: flex;
        justify-content: space-around;
        align-items: center;
        pointer-events: auto;
        border-top: 1px solid var(--border);
        position: relative;
    }

    .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 600;
        cursor: pointer;
        transition: 0.2s;
        background: none;
        border: none;
    }

    .nav-item.active {
        color: var(--primary);
    }

    .nav-item i {
        font-size: 22px;
    }

    .fab-btn {
        width: 65px;
        height: 65px;
        background: var(--primary);
        color: var(--bg);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
        box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
        border: 4px solid var(--card);
        cursor: pointer;
        z-index: 1001;
        pointer-events: auto;
        transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        margin-top: -25px;
    }

    .fab-btn:active {
        transform: scale(0.9);
    }
}