/**
 * Bibbid Online Notebook
 * Author: Angel Concepcion
 * App Version:  11.61
 * File Version: 65
 * File Path:    /assest/header-style.css
 */

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', sans-serif; background-color: #f8f9fa; }

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 20px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-area a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

.logo-area img { height: 32px; border-radius: 4px; }

.nav-container { position: relative; outline: none; }

.user-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-content {
    position: absolute;
    right: 0;
    top: 100%;
    width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    margin-top: 10px;
    overflow: hidden;
}

.nav-container:focus-within .dropdown-content { display: flex; }

.dropdown-content a {
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover { background: #f1f1f1; }

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

#mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 10000;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

#mobile-drawer.active { right: 0; }

.drawer-header {
    padding: 20px;
    background: #eee;
    font-weight: bold;
    color: #333;
}

.drawer-link {
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

#drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 9999;
}

#drawer-overlay.active { display: block; }

@media (max-width: 768px) {
    .nav-container { display: none; }
    .hamburger { display: block; }
}