root {
    --header-height: 65px;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-blue-50);
    border-bottom: 1px solid var(--color-blue-50-dark-1);
    color: white;
}

.header__inner {
    margin: 0 auto;
    padding: .25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__branding .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo__image {
    height: 36px;
    margin-right: 0.5rem;
}

.logo__text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header__nav {
    display: flex;
}

.nav__list {
    display: flex;
    gap: .01rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.notification-toggle-button {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-left: 4px solid transparent;
    border-radius: 4px;
    border-bottom: 4px solid var(--color-blue-50);
    color: white;
    width: 100%;
    text-align: left;
    transition: background-color 0.5s ease, border-left 0.5s ease, color 0.5s ease;
}

.notification-toggle-button:hover {
    background-color: var(--color-blue-40);
    border-bottom: 4px solid white;
    color: white;
}

.notification-toggle-button.active {
    border-bottom: 4px solid white;
    color: white;
}

.notification-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent-50);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 16px;
}

.notification-dropdown {
    position: fixed;
    top: calc(var(--header-height, 60px));
    right: 0;
    width: 320px;
    height: calc(100vh - var(--header-height, 60px));
    background-color: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
}

.notification-dropdown.visible {
    transform: translateX(0);
}

.notification-dropdown__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--color-blue-50);
    color: white;
    border-bottom: 1px solid var(--color-blue-50-dark-1);
}

.notification-dropdown__header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.notification-dropdown__header button {
    background: none;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.notification-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.notification-item.read {
    background-color: #f9f9f9;
}

.notification-item.unread {
    background-color: #fff;
}

.notification-item__content {
    flex: 1;
}

.mark-read-button {
    background-color: var(--color-blue-50);
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 4px;
}


.nav__link-content {
    display: inline-block;
}

.nav__list li {
    display: flex;
    align-items: center;
}

.nav__list li a {
    text-decoration: none;
    color: white;
    font-size: .9rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 4px solid transparent;
    transition: background-color 0.5s ease, border-left 0.5s ease, color 0.5s ease;
    border-radius: 4px;
    border-bottom: 4px solid var(--color-blue-50);
}

.nav__list li a:hover {
    background-color: var(--color-blue-40);
    border-bottom: 4px solid white;
    color: white;
    transition: background-color 0.5s ease, border-left 0.5s ease, color 0.5s ease;
}

.nav__list li a.active {
    border-bottom: 4px solid white;
    color: white;
}

.nav__list li i {
    font-size: 1.25rem;
    color: white;
}

.logout {
    color: #f87171;
    font-weight: bold;
}

@media (max-width: 795px) {
    .header__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header__nav {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 1rem 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: .15rem;
        width: 100%;
    }

    .nav__list li {
        width: 100%;
        text-align: center;
    }

    .nav__list li a {
        justify-content: center;
        width: 100%;
        padding: 0.75rem 1rem;
    }
}
