/* Ensure full width on mobile */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 0;
}

.navbar-left .icon-btn {
    width: 32px;
    height: 32px;
    padding: 6px;
}

.navbar-left .icon-btn svg {
    width: 20px;
    height: 20px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.navbar-brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 40px;
    margin-left: -4px;
}

.navbar-logo {
    height: 36px;
    width: auto;
    display: block;
    filter: none;
    opacity: 1;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--medium-grey);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 40px;
    height: 40px;
}

.icon-btn:hover {
    background: var(--orange-light);
    color: var(--orange);
}

.logout-link {
    color: var(--medium-grey);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.logout-link:hover {
    color: var(--orange);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: transparent;
    border: none;
    color: var(--medium-grey);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.dropdown-toggle:hover {
    background: var(--orange-light);
    color: var(--orange);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-email {
    padding: 12px 16px;
    border-bottom: 1px solid var(--light-grey);
    font-size: 0.8rem;
    color: var(--medium-grey);
    font-weight: 500;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--black);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:first-of-type {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 12px 12px;
    color: var(--black);
}

.dropdown-item:hover {
    background: var(--orange-light);
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 12px;
    }

    .navbar-left {
        gap: 0;
    }

    .navbar-left .icon-btn {
        width: 28px;
        height: 28px;
        padding: 4px;
    }

    .navbar-left .icon-btn svg {
        width: 18px;
        height: 18px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand-logo {
        height: 32px;
        margin-left: -4px;
    }

    .navbar-logo {
        height: 28px;
    }

    .navbar-right {
        gap: 8px;
    }
}
