/* Reset básico para garantir largura total */
* {
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}


.custom-header {
    font-family: 'Poppins' sans-serif;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.custom-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    flex-wrap: wrap;
}

.custom-logo-project {
    margin: 0;
    max-width: 210px;
    width: auto;
    height: auto;
}

.custom-menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    padding: 8px;
}

.custom-nav-menu {
    margin: 30px 0 20px 0;
    display: flex;
    padding: 30px;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.custom-nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0 8px;
    transition: color 0.3s;
}

.custom-nav-menu a:hover {
    color: #dc743f;
}

.custom-menu-separator {
    height: 20px;
    width: 1px;
    background-color: #9ce3ed;
}

.custom-user-info-group {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.custom-welcome-message {
    color: #dc743f;
    font-size: 18px;
}

.custom-logout-btn {
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.custom-logout-btn:hover {
    color: #dc743f;
}

/* Responsivo */
@media (min-width: 769px) {
    .custom-header-container {
        gap: 0px;
    }

    .custom-menu-toggle {
        display: none;
    }
    
    .custom-nav-menu {
        display: flex !important;
        position: static;
        background: transparent;
        box-shadow: none;
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .custom-header-container {
        padding: 15px 20px;
        gap: 0;
    }
    .custom-welcome-message {
        display:none;
    }

    .custom-menu-toggle {
        display: block;
        z-index: 1001;
    }

    .custom-nav-menu {
        display: none;
        flex-direction: column;
        background: white;
        padding: 20px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        gap: 15px;
        margin: 0;
    }

    .custom-nav-menu.active {
        display: flex;
    }

    .custom-menu-separator {
        display: none;
    }

}
