.head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.25);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.head a {
    color: #e8f5e9;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

.head a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

#logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

#logo .fa {
    font-size: 1.1rem;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

#divLogin {
    display: flex;
    align-items: center;
    gap: 18px;
}

#loginSession {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

#user {
    font-weight: 500;
    color: #e8f5e9;
}

#loginSession a {
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

#loginSession a:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .head {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        text-align: center;
    }

    #divLogin,
    #loginSession {
        flex-direction: column;
        width: 100%;
    }

    #loginSession a,
    #divLogin > a {
        width: 100%;
        text-align: center;
    }
}
