:root{
        --cefet-header-white: #ffffff;
        --cefet-text-dark: #2c3e50;
        --primary-blue: #004080;
    }
.navbar-cefet-white {
    background-color: var(--cefet-header-white);
    padding: 1.5rem 0;
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
}

.navbar-container-white {
    width: 100%;
    box-sizing: border-box;
    padding: 0 3.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.6rem;
}

.brand-area-white {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-brand-white img {
    height: 6rem;
}

/* Neutraliza estilos do Bootstrap 3 quando dentro da navbar CEFET branca */
.navbar-cefet-white .navbar-brand-white {
    float: none;
    display: block;
    height: auto;
    padding: 0;
    line-height: 1;
    background: none;
}

.btn-conectar {
    background-color: transparent;
    color: #1976D2;
    border: 1px solid #1976D2;
    padding: 0.8rem 1.6rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.6rem;
    text-transform: uppercase;
    transition: all 0.3s;
}

.navbar-cefet-white .navbar-brand-white img {
    height: 6rem;
    display: block;
}

.navbar-cefet-white .brand-area-white {
    display: flex;
    align-items: center;
}

.brand-text-white {
    color: var(--cefet-text-dark);
    line-height: 1;
    margin-left: 0.6rem;
    display: flex;
    align-items: center;
}

.brand-title-white {
    font-weight: 700;
    font-size: 2.6rem;
    letter-spacing: -0.05rem;
}

.brand-sub-white {
    font-size: 1.8rem;
    opacity: 0.7;
    padding-left: 0.9rem;
    border-left: 1px solid rgba(44, 62, 80, 0.25);
    margin-left: 0.9rem;
    font-weight: 500;
}

@media (min-width: 768px) {
.nav-actions-white {
    display: flex;
    gap: 2.4rem;
    align-items: center;
}
}

.nav-link-custom-white {
    color: rgba(44, 62, 80, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.2s ease;
}

.nav-link-custom-white:hover {
    color: #004080;
}

.btn-logout-white {
    border: 1px solid rgba(44, 62, 80, 0.25);
    border-radius: 0.8rem;
    padding: 0.8rem 1.6rem;
}

.btn-logout-white:hover {
    background: rgba(44, 62, 80, 0.08);
}

.auth-toggle-btn-white {
    display: none;
    background: none;
    border: none;
    color: var(--cefet-text-dark);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity 0.2s ease;
}

.auth-toggle-btn-white:hover {
    opacity: 0.7;
}

/* Garante que o menu apareça em telas grandes, mesmo com classe collapse */
@media (min-width: 769px) {
    .nav-actions-white.collapse {
        display: flex !important;
    }
}

/* Estilos responsivos */
@media (max-width: 768px) {

    .brand-title-white {
        font-size: 1.8rem;
    }

    .brand-sub-white {
        font-size: 1.3rem;
        padding-left: 0.7rem;
        margin-left: 0.7rem;
    }

    .navbar-brand-white img {
        height: 4rem;
    }

    .navbar-cefet-white .navbar-brand-white img {
        height: 4rem;
    }

    .auth-toggle-btn-white {
        display: block;
    }

    .nav-actions-white {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1rem 0 0.5rem;
        order: 3;
    }

    .nav-actions-white.collapse.in {
        display: flex;
    }

    .nav-actions-white.collapsing {
        display: flex;
        height: 0;
        overflow: hidden;
        transition: height 0.35s ease;
    }

    .navbar-container-white{
        display: flex;
        flex-wrap: wrap;
    }

    .nav-link-custom-white {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.5rem;
        border-bottom: 1px solid rgba(44, 62, 80, 0.1);
    }

    .btn-logout-white {
        border: none;
        border-bottom: 1px solid rgba(44, 62, 80, 0.1);
        border-radius: 0;
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .brand-title-white {
        font-size: 1.6rem;
    }

    .brand-sub-white {
        display: none;
    }

    .navbar-brand-white img {
        height: 3.5rem;
    }

    .navbar-cefet-white .navbar-brand-white img {
        height: 3.5rem;
    }
}
