﻿/* ========================================
   Web Mobile Bottom Navigation (768px 이하)
   ======================================== */

/* Desktop/Mobile visibility helpers */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Bottom Navigation for Mobile Web */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #9ca3af;
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.2s ease;
    gap: 0.25rem;
    flex: 1;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.bottom-nav-item span {
    font-size: 0.65rem;
    font-weight: 600;
}

/* Tab icon styles (SVG images) */
.bottom-nav-item .tab-icon {
    width: 48px;
    height: 48px;
    transition: all 0.2s ease;
}

.bottom-nav-item:hover .tab-icon {
    transform: scale(1.05);
}

.bottom-nav-item.active .tab-icon {
    transform: scale(1.1);
}

.bottom-nav-item:hover {
    color: #FF6B35;
}

.bottom-nav-item.active {
    color: #FF6B35;
}

.bottom-nav-item.active i {
    transform: scale(1.1);
}

/* Mobile Web responsive - show bottom nav, hide top nav */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .page {
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    }

    .main-content {
        padding-top: 1rem;
    }
}
