/* GCO Bottom Navigation */

.gco-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
}

.gco-bottom-nav .bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    height: 60px;
}

.gco-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    padding: 8px 4px;
    text-decoration: none;
    color: #6b7280;
    transition: all 0.2s;
    position: relative;
}

.gco-bottom-nav .nav-item:active {
    transform: scale(0.95);
}

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

.gco-bottom-nav .nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    border-radius: 0 0 3px 3px;
}

.gco-bottom-nav .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.gco-bottom-nav .nav-icon svg {
    width: 100%;
    height: 100%;
}

.gco-bottom-nav .nav-label {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
}

/* Add padding to body when bottom nav is visible */
body.has-bottom-nav {
    padding-bottom: 60px;
}

/* Show only on mobile devices */
@media (max-width: 768px) {
    .gco-bottom-nav {
        display: block;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .gco-bottom-nav .nav-label {
        font-size: 9px;
    }
    
    .gco-bottom-nav .nav-icon {
        width: 20px;
        height: 20px;
    }
}

/* Landscape mode on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .gco-bottom-nav .bottom-nav-container {
        height: 50px;
    }
    
    body.has-bottom-nav {
        padding-bottom: 50px;
    }
}
