/* =========================================
   BOTTOM NAVIGATION BAR STYLES
   ========================================= */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    border-top: 1px solid #222;
    display: none;
    padding: 0;
    z-index: 999;
    justify-content: space-around;
    align-items: stretch;
    height: 65px;
    transition: background-color 0.3s ease;
}

body.light .bottom-nav {
    background: #f5f5f5;
    border-top-color: #ddd;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #0ba026;
    font-size: 10px;
    padding: 6px 4px;
    transition: all 0.3s ease;
    border-radius: 0;
    gap: 3px;
    flex: 1;
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: #0ba026;
    background-color: rgba(11, 160, 38, 0.1);
}

.bottom-nav-item i {
    font-size: 22px;
    display: block;
    line-height: 1;
    margin: 0;
}

.bottom-nav-item span {
    font-weight: 600;
    font-size: 10px;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.2;
}

body.light .bottom-nav-item {
    color: #666;
}

body.light .bottom-nav-item:hover,
body.light .bottom-nav-item.active {
    color: #0ba026;
    background-color: rgba(11, 160, 38, 0.1);
}

/* Pulse animation for bots button */
@keyframes greenPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(11, 160, 38, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(11, 160, 38, 0);
    }
}

.bottom-nav-item:nth-child(3) {
    transform: translateY(-20px);
}

.bottom-nav-item:nth-child(3) i {
    background: #fff;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ba026;
    font-size: 24px;
    animation: greenPulse 2s infinite;
    box-shadow: 0 4px 12px rgba(11, 160, 38, 0.3);
    flex-shrink: 0;
}

.bottom-nav-item:nth-child(3) span {
    margin-top: 4px;
}

/* Adjust bottom nav padding for elevated Bots button */
@media (max-width: 767px) {
    .wrapper {
        padding-bottom: 65px;
    }

    .bottom-nav {
        height: 65px;
    }
}
