.cls-header {
    grid-area: header;
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 14px 0 10px;
    background: linear-gradient(98deg, #0f1f2f 0%, #16344c 54%, #1e4868 100%);
    border-bottom: 1px solid #2b445c;
    box-shadow: 0 8px 18px rgba(8, 22, 34, 0.2);
    position: relative;
    z-index: 1200;
}

.cls-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(138, 175, 205, 0.15), rgba(200, 225, 245, 0.35), rgba(138, 175, 205, 0.15));
}

.cls-container-logo {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.cls-button-menu {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(207, 227, 244, 0.24);
    background: rgba(9, 28, 43, 0.35);
    color: #eaf4ff;
    font-size: 15px;
    cursor: pointer;
    margin-right: 12px;
    transition: all 0.16s ease;
}

.cls-button-menu:hover {
    background: rgba(9, 28, 43, 0.54);
    border-color: rgba(207, 227, 244, 0.44);
}

.cls-button-menu:focus-visible {
    outline: 2px solid rgba(184, 217, 242, 0.7);
    outline-offset: 2px;
}

.cls-logo {
    color: #f7fbff;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

.cls-logo .fa-file-alt {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    border: 1px solid rgba(198, 224, 244, 0.25);
    background: rgba(7, 22, 35, 0.44);
    color: #9fd0f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.cls-logo__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cls-profile-empresa {
    width: min(290px, 30vw);
    margin-left: auto;
    display: flex;
    align-items: center;
}

.cls-profile-empresa #sl-empresa-header {
    width: 100%;
    height: 33px;
    min-height: 33px;
    margin: 0 !important;
    border-radius: 8px;
    border: 1px solid rgba(177, 197, 214, 0.65);
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    color: #22445f;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
}

.cls-profile-empresa #sl-empresa-header:focus {
    outline: none;
    border-color: #6fa9d5;
    box-shadow: 0 0 0 3px rgba(114, 169, 212, 0.18);
}

.cls-profile-icon {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 10px;
}

.cls-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(207, 227, 244, 0.34);
    background: rgba(8, 24, 38, 0.35);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(8, 21, 32, 0.24);
}

.cls-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 900px) {
    .cls-header {
        padding: 0 10px 0 8px;
    }

    .cls-logo {
        font-size: 14px;
    }

    .cls-profile-empresa {
        width: min(180px, 36vw);
    }
}

@media screen and (max-width: 680px) {
    .cls-profile-empresa {
        display: none;
    }

    .cls-button-menu {
        margin-right: 9px;
    }
}
