/* ===== NAV ===== */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 16px;

    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid #eee;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 26px;
    width: auto;
}

.nav-sub {
    font-size: 11px;
    color: #8e8e93;
}

.menu-btn {
    font-size: 22px;
    padding: 6px 10px;
    border-radius: 10px;
}

.menu-btn:active {
    background: #eee;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 480px;
    margin: auto;
    padding: 16px;
}


/* ===== FAB ===== */
.fab-btn {
    position: fixed;
    bottom: 24px;
    right: 20px;

    width: 60px;
    height: 60px;

    background: linear-gradient(135deg,#2e7d32,#1b5e20);
    color: white;

    font-size: 28px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 20px rgba(46,125,50,0.3);

    z-index: 999;
}

.fab-btn:active {
    transform: scale(0.92);
}


.fab-btn {
    transition: all 0.2s ease;
}

 

.fab-btn:hover {
    transform: translateY(-2px);
}


/* ===== OVERLAY ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.3);

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 150;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ===== SIDE MENU ===== */
.side-menu {
    position: fixed;
    top: 0;
    right: 0;

    width: 80%;
    max-width: 320px;
    height: 100%;

    background: white;

    transform: translateX(100%);  /* 🔥 이게 핵심 */
    transition: transform 0.3s ease;

    z-index: 200;
    padding: 20px;
}

.side-menu.open {
    transform: translateX(0);
}

/* 메뉴 아이템 */
.menu-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

