﻿.custom-header {
    position: relative;
    width: 100%;
    height: 221px;
    overflow: hidden;
}

.header-bg-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('/img/header-bg.webp') left center no-repeat;
    background-size: cover;
}

.header-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    gap: 30px; /* Deixe o texto mais perto do logo */
    justify-content: flex-start;
    padding-left: 45vw; /* Aumente para afastar do canto esquerdo, diminua para aproximar */
}

.header-logo {
    height: 115px;
    width: auto;
    display: block;
}

.header-title-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-title {
    color: var(--amarelo);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.25px;
    line-height: 1.1;
}

/* Responsividade */
@media (max-width: 900px) {
    .custom-header {
        height: 140px;
    }

    .header-title {
        font-size: 22px;
        font-style: normal;
        font-weight: 700;
        line-height: 130.019%; /* 11.702px */
    }

    .header-logo {
        height: 42px;
    }

    .header-banner {
        gap: 15px;
        justify-content: flex-end;
    }
}

@media (max-width: 600px) {
    .custom-header {
        height: 120px;
    }

    .header-title-area {
        display: none;
    }
    .header-logo {
        height: 90px;
        margin-right: 10px;
    }
}


.logout-row {
    /* opção A: ocupar a largura da página */
    display: flex;
    justify-content: flex-end;
    padding: 8px 16px; /* ajuste o padding lateral conforme seu layout */
    /* se preferir alinhar com a área de conteúdo, use:
		 max-width: 1200px; margin: 8px auto 0; padding: 8px 0;
	  */
    margin-top: 4px;
}

.logout-link {
    background: none;
    border: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    color: #111; /* texto preto */
    cursor: pointer;
}

    .logout-link:hover {
        text-decoration: underline;
    }

.logout-icon {
    width: 18px;
    height: 18px;
    fill: currentColor; /* ícone preto acompanhando o texto */
}