﻿.logout-form {
    margin: 0;
    padding: 0;
}

.edi-topbar {
    height: 54px;
    background: #d71920;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.16);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .02em;
    white-space: nowrap;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(255,255,255,0.10);
}

    .nav-link:hover {
        background: rgba(255,255,255,0.18);
    }

.role-pill {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.user-email {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

.logout-btn,
.login-btn {
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255,255,255,0.12);
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
    line-height: normal;
}

    .logout-btn:hover,
    .login-btn:hover {
        background: rgba(255,255,255,0.22);
    }

@@media (max-width: 760px) {
    .edi-topbar {
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 12px;
        gap: 8px;
    }

    .topbar-left,
    .topbar-right {
        width: 100%;
        flex-wrap: wrap;
    }

    .user-email {
        max-width: 100%;
    }
}
