/* assets/css/bottombar.css */
/* --- STYLES PARA SA MOBILE BOTTOM BAR --- */

.bottom-bar {
    display: none; /* Tago by default (sa desktop) */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--bg-light); /* Maroon */
    border-top: 1px solid var(--input-border);
    z-index: 90;
    
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 0 1rem;
}

.bottom-bar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.7rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s;
}
.bottom-bar-link i {
    font-size: 1.4rem;
}
.bottom-bar-link.active {
    color: var(--accent-primary);
}
.bottom-bar-link:hover {
    color: var(--accent-light);
    background: var(--bg-dark);
}

/* Button para sa "More" */
.bottom-bar-more {
    background: none;
    border: none;
    cursor: pointer;
}

/* Ipakita lang sa mobile */
@media (max-width: 991px) {
    .bottom-bar {
        display: flex;
    }
}

/* ----- BAGO: ACTION BAR (SLIDE-UP MENU) ----- */

.action-bar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.action-bar-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-light);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 102;
    
    /* Animation */
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Active state para sa slide-up */
.action-bar-overlay.is-active {
    opacity: 1;
    visibility: visible;
}
.action-bar-menu.is-active {
    transform: translateY(0);
    visibility: visible;
}

.action-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--input-border);
}
.action-bar-header h3 {
    color: var(--accent-light);
    font-weight: 600;
}
.action-bar-close {
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

/* assets/css/bottombar.css */

.action-bar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-height: 50vh; /* Para pwede i-scroll kung sobrang dami */
    overflow-y: auto;
    
    /* --- ITO ANG DAGDAG PARA ALISIN ANG SCROLLBAR --- */
    -ms-overflow-style: none;  /* IE at Edge */
    scrollbar-width: none;  /* Firefox */
}
.action-bar-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, at Opera */
}
.action-bar-list li a,
.action-bar-list li button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--input-border);
    
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}
.action-bar-list li:last-child a,
.action-bar-list li:last-child button {
    border-bottom: none;
}
.action-bar-list li a:hover,
.action-bar-list li button:hover {
    color: var(--accent-light);
    background: var(--bg-dark);
}
.action-bar-list li i {
    font-size: 1.2rem;
    width: 20px;
}