/* ========================================
   FLOATING ACTION BUTTONS (FAB)
   ======================================== */

.fab-container {
    position: fixed;
    bottom: 80px; /* Above bottom nav on mobile */
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 998;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e67e50;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(230, 126, 80, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    text-align: center;
}

.fab i {
    line-height: 1;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(230, 126, 80, 0.5);
    background: #d66940;
}

.fab:active {
    transform: scale(0.95);
}

.fab.fab-classroom {
    background: #0f9d58;
    box-shadow: 0 4px 12px rgba(15, 157, 88, 0.4);
}

.fab.fab-classroom:hover {
    background: #0d8a4c;
    box-shadow: 0 6px 16px rgba(15, 157, 88, 0.5);
}

.fab.fab-calendar {
    background: #4285f4;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

.fab.fab-calendar:hover {
    background: #3367d6;
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.5);
}

/* ========================================
   MOBILE BOTTOM NAVIGATION
   ======================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    z-index: 999;
    display: none; /* Hidden by default */
}

.bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bottom-nav-item {
    flex: 1;
    text-align: center;
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 8px;
    text-decoration: none;
    color: #666;
    transition: all 0.2s;
    font-size: 0.75rem;
}

.bottom-nav-link i {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav-link.active,
.bottom-nav-link:hover {
    color: #e67e50;
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    .bottom-nav {
        display: block;
    }
    
    .fab-container {
        bottom: 80px; /* Adjust for bottom nav */
    }
    
    /* Hide desktop nav toggle on mobile */
    .nav-toggle {
        display: none !important;
    }
    
    /* Hide desktop nav menu on mobile */
    .nav-menu {
        display: none !important;
    }
}

/* Desktop: Hide bottom nav */
@media (min-width: 769px) {
    .bottom-nav {
        display: none !important;
    }
    
    .fab-container {
        bottom: 20px; /* Lower on desktop */
    }
}

/* ========================================
   HEADER PADDING FIX
   ======================================== */

.navbar {
    padding: 20px 0 !important; /* Increased padding */
}

.navbar .container {
    padding: 0 24px !important; /* Increased horizontal padding */
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0 16px !important;
    }
}
